ecyht2 commited on
Commit
621c556
1 Parent(s): e66f911

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -1
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 = generated_text;
 
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
  }