Spaces:
Running
Running
Update script1.js
Browse files- script1.js +1 -1
script1.js
CHANGED
@@ -576,7 +576,7 @@ async function processWithGradio(imageBlob) {
|
|
576 |
app = await client(randomClient);
|
577 |
const handledFile = await handle_file(imageBlob);
|
578 |
|
579 |
-
const result = await app.predict("/process_image", [handledFile, "Detailed Caption"]);
|
580 |
|
581 |
const dataString = result.data[0];
|
582 |
lastCaption = dataString || lastCaption;
|
|
|
576 |
app = await client(randomClient);
|
577 |
const handledFile = await handle_file(imageBlob);
|
578 |
|
579 |
+
const result = await app.predict("/process_image", [handledFile, "More Detailed Caption"]);
|
580 |
|
581 |
const dataString = result.data[0];
|
582 |
lastCaption = dataString || lastCaption;
|