prithivMLmods commited on
Commit
be37585
Β·
verified Β·
1 Parent(s): 73bf5e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- title="# **Qwen2.5-VL-3B-Instruct**",
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",