Khrisna commited on
Commit
3dca5ad
·
verified ·
1 Parent(s): 79a8582

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +4 -0
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", [