Spaces:
Running
Running
Update script1.js
Browse files- script1.js +1 -1
script1.js
CHANGED
@@ -549,7 +549,7 @@ async function processWithGradio(imageBlob) {
|
|
549 |
app = await client(randomClient);
|
550 |
const handledFile = await handle_file(imageBlob);
|
551 |
|
552 |
-
const result = await app.predict("/process_image", [handledFile, "Detailed Caption"]);
|
553 |
|
554 |
const dataString = result.data[0];
|
555 |
lastCaption = dataString || lastCaption;
|
|
|
549 |
app = await client(randomClient);
|
550 |
const handledFile = await handle_file(imageBlob);
|
551 |
|
552 |
+
const result = await app.predict("/process_image", [handledFile, "More Detailed Caption"]);
|
553 |
|
554 |
const dataString = result.data[0];
|
555 |
lastCaption = dataString || lastCaption;
|