Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def generate_answer_git(processor, model, image, question):
|
|
45 |
print('sequences:')
|
46 |
print(generated_ids.sequences)
|
47 |
print(generated_ids)
|
48 |
-
|
49 |
|
50 |
return 'haha'
|
51 |
|
|
|
45 |
print('sequences:')
|
46 |
print(generated_ids.sequences)
|
47 |
print(generated_ids)
|
48 |
+
generated_answer = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)
|
49 |
|
50 |
return 'haha'
|
51 |
|