Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -96,6 +96,10 @@ async function processImage2Img(imgBuffer, prompt) {
|
|
96 |
|
97 |
const form = new FormData();
|
98 |
form.append('image', convertingBlob, "image" + type.ext);
|
|
|
|
|
|
|
|
|
99 |
|
100 |
const app = await Client.connect("Manjushri/SDXL-Turbo-Img2Img-CPU");
|
101 |
const result = await app.predict("/predict", [
|
|
|
96 |
|
97 |
const form = new FormData();
|
98 |
form.append('image', convertingBlob, "image" + type.ext);
|
99 |
+
|
100 |
+
Client.configure({
|
101 |
+
debug: true,
|
102 |
+
});
|
103 |
|
104 |
const app = await Client.connect("Manjushri/SDXL-Turbo-Img2Img-CPU");
|
105 |
const result = await app.predict("/predict", [
|