Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
|
@@ -52,5 +52,6 @@ async function detect(img) {
|
|
| 52 |
|
| 53 |
// Decode the model outputs
|
| 54 |
const generated_text = processor.batch_decode(outputs.logits).generated_text;
|
| 55 |
-
status.textContent =
|
|
|
|
| 56 |
}
|
|
|
|
| 52 |
|
| 53 |
// Decode the model outputs
|
| 54 |
const generated_text = processor.batch_decode(outputs.logits).generated_text;
|
| 55 |
+
status.textContent = '';
|
| 56 |
+
console.log(generated_text);
|
| 57 |
}
|