Spaces:
Running
on
Zero
Running
on
Zero
MaziyarPanahi
commited on
Commit
•
df30ad6
1
Parent(s):
425e364
Update app.py (#17)
Browse files- Update app.py (0caa020012fc0d80310c4f8f8df51daa92267767)
app.py
CHANGED
@@ -96,7 +96,7 @@ def run_example(image, text_input=None, model_id="Qwen/Qwen2-VL-2B-Instruct"):
|
|
96 |
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
|
97 |
)
|
98 |
|
99 |
-
return output_text
|
100 |
|
101 |
css = """
|
102 |
#output {
|
|
|
96 |
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
|
97 |
)
|
98 |
|
99 |
+
return output_text[0]
|
100 |
|
101 |
css = """
|
102 |
#output {
|