ysharma HF staff commited on
Commit
9a6c781
β€’
1 Parent(s): b7f43bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -94,7 +94,8 @@ with gr.Blocks(fill_height=True, ) as demo:
94
  examples=[{"text": "Describe the image in details?", "files": ["./robo.jpg"]},
95
  {"text": "What does the chart display?", "files": ["./dataviz.png"]},
96
  {"text": "What is 3?", "files": ["./setofmark1.jpg"]},
97
- {"text": "Which room should I goto if I want to sit down and eat?", "files": ["./setofmark2.jpg"]}
 
98
  ],
99
  description="Try [microsoft/Phi-3-vision-128k-instruct](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct). Upload an image and start chatting about it, or simply try one of the examples below. If you won't upload an image, you will receive an error. This is not the official demo.",
100
  stop_btn="Stop Generation",
@@ -102,6 +103,7 @@ with gr.Blocks(fill_height=True, ) as demo:
102
  textbox=chat_input,
103
  chatbot=chatbot,
104
  cache_examples=False,
 
105
  )
106
 
107
  demo.queue()
 
94
  examples=[{"text": "Describe the image in details?", "files": ["./robo.jpg"]},
95
  {"text": "What does the chart display?", "files": ["./dataviz.png"]},
96
  {"text": "What is 3?", "files": ["./setofmark1.jpg"]},
97
+ {"text": "Which room should I go to if I want to eat something?", "files": ["./setofmark2.jpg"]},
98
+ {"text": "Which Watermelon is sweeter?", "files": ["./setofmark3.jpeg"]},
99
  ],
100
  description="Try [microsoft/Phi-3-vision-128k-instruct](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct). Upload an image and start chatting about it, or simply try one of the examples below. If you won't upload an image, you will receive an error. This is not the official demo.",
101
  stop_btn="Stop Generation",
 
103
  textbox=chat_input,
104
  chatbot=chatbot,
105
  cache_examples=False,
106
+ examples_per_page=3
107
  )
108
 
109
  demo.queue()