Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#17
by
MaziyarPanahi
- opened
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 {
|