Nikhil0987 commited on
Commit
927ea7f
·
verified ·
1 Parent(s): 98b0bb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ question = "What does the label 15 represent? (1) lava (2) core (3) tunnel (4) a
14
 
15
  inputs = processor(images=image, text=question, return_tensors="pt")
16
 
17
- predictions = model.generate(**inputs,max_new_tokens= 50)
18
  # print(processor.decode(predictions[0], skip_special_tokens=True))
19
 
20
 
 
14
 
15
  inputs = processor(images=image, text=question, return_tensors="pt")
16
 
17
+ predictions = model.generate(**inputs,max_new_tokens= 1000)
18
  # print(processor.decode(predictions[0], skip_special_tokens=True))
19
 
20