Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,13 +258,13 @@ with gr.Blocks(fill_height=True, css=".message-wrap.svelte-1lcyrx4>div.svelte-1l
|
|
| 258 |
gr.ChatInterface(
|
| 259 |
fn=model_inference,
|
| 260 |
chatbot=chatbot,
|
| 261 |
-
examples=[{"text": "How many items are sold?", "files":["./example_images/docvqa_example.png"]},
|
| 262 |
-
{"text": "What is this UI about?", "files":["./example_images/s2w_example.png"]},
|
| 263 |
-
{"text": "I want to go somewhere similar to the one in the photo. Give me destinations and travel tips.", "files":["./example_images/travel_tips.jpg"]},
|
| 264 |
-
{"text": "Can you tell me a very short story based on this image?", "files":["./example_images/chicken_on_money.png"]},
|
| 265 |
-
{"text": "Where is this pastry from?", "files":["./example_images/baklava.png"]},
|
| 266 |
-
{"text": "How much percent is the order status?", "files":["./example_images/dummy_pdf.png"]},
|
| 267 |
-
{"text":"As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.", "files":["./example_images/art_critic.jpg"]}
|
| 268 |
],
|
| 269 |
description=description,
|
| 270 |
title="Idefics2 Playground 🐶 ",
|
|
|
|
| 258 |
gr.ChatInterface(
|
| 259 |
fn=model_inference,
|
| 260 |
chatbot=chatbot,
|
| 261 |
+
examples=[[{"text": "How many items are sold?", "files":["./example_images/docvqa_example.png"]}],
|
| 262 |
+
[{"text": "What is this UI about?", "files":["./example_images/s2w_example.png"]}],
|
| 263 |
+
[{"text": "I want to go somewhere similar to the one in the photo. Give me destinations and travel tips.", "files":["./example_images/travel_tips.jpg"]}],
|
| 264 |
+
[{"text": "Can you tell me a very short story based on this image?", "files":["./example_images/chicken_on_money.png"]}],
|
| 265 |
+
[{"text": "Where is this pastry from?", "files":["./example_images/baklava.png"]}],
|
| 266 |
+
[{"text": "How much percent is the order status?", "files":["./example_images/dummy_pdf.png"]}],
|
| 267 |
+
[{"text":"As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.", "files":["./example_images/art_critic.jpg"]}]
|
| 268 |
],
|
| 269 |
description=description,
|
| 270 |
title="Idefics2 Playground 🐶 ",
|