Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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 |
|