Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def generate_answer_git(processor, model, image, question):
|
|
62 |
inputs["top_p"] = 0.95
|
63 |
|
64 |
out = model.generate(**inputs)
|
65 |
-
print(processor.batch_decode(out, skip_special_tokens=True)
|
66 |
|
67 |
# encoding = processor(images=image, text=question, return_tensors="pt")
|
68 |
|
|
|
62 |
inputs["top_p"] = 0.95
|
63 |
|
64 |
out = model.generate(**inputs)
|
65 |
+
print(processor.batch_decode(out, skip_special_tokens=True))
|
66 |
|
67 |
# encoding = processor(images=image, text=question, return_tensors="pt")
|
68 |
|