Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,8 @@ def generate_answer_git(processor, model, image, question):
|
|
47 |
print(generated_ids)
|
48 |
generated_answer = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)
|
49 |
print(generated_answer)
|
|
|
|
|
50 |
|
51 |
return 'haha'
|
52 |
|
|
|
47 |
print(generated_ids)
|
48 |
generated_answer = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)
|
49 |
print(generated_answer)
|
50 |
+
generated_answer1 = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)[1]
|
51 |
+
print(generated_answer1)
|
52 |
|
53 |
return 'haha'
|
54 |
|