Spaces:
Running
on
Zero
Running
on
Zero
MaziyarPanahi
commited on
Commit
•
0caa020
1
Parent(s):
425e364
Update app.py
Browse files
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 {
|