Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -74,9 +74,9 @@ def model_inference(input_dict, history):
|
|
74 |
|
75 |
# Example inputs
|
76 |
examples = [
|
|
|
77 |
[{"text": "Describe this image.", "files": ["example_images/campeones.jpg"]}],
|
78 |
[{"text": "What does this say?", "files": ["example_images/math.jpg"]}],
|
79 |
-
[{"text": "What is the date in this document?", "files": ["example_images/document.jpg"]}],
|
80 |
[{"text": "What is this UI about?", "files": ["example_images/s2w_example.png"]}],
|
81 |
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
82 |
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
@@ -87,7 +87,7 @@ examples = [
|
|
87 |
|
88 |
demo = gr.ChatInterface(
|
89 |
fn=model_inference,
|
90 |
-
|
91 |
examples=examples,
|
92 |
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image"], file_count="multiple"),
|
93 |
stop_btn="Stop Generation",
|
|
|
74 |
|
75 |
# Example inputs
|
76 |
examples = [
|
77 |
+
[{"text": "Describe the document?", "files": ["example_images/document.jpg"]}],
|
78 |
[{"text": "Describe this image.", "files": ["example_images/campeones.jpg"]}],
|
79 |
[{"text": "What does this say?", "files": ["example_images/math.jpg"]}],
|
|
|
80 |
[{"text": "What is this UI about?", "files": ["example_images/s2w_example.png"]}],
|
81 |
[{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
|
82 |
[{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
|
|
|
87 |
|
88 |
demo = gr.ChatInterface(
|
89 |
fn=model_inference,
|
90 |
+
description="# **Qwen2.5-VL-3B**",
|
91 |
examples=examples,
|
92 |
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image"], file_count="multiple"),
|
93 |
stop_btn="Stop Generation",
|