Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -91,11 +91,11 @@ with gr.Blocks(fill_height=True) as demo:
|
|
91 |
with gr.Accordion(label="Example Inputs and Advanced Generation Parameters"):
|
92 |
examples=[["./example_images/docvqa_example.png", "How many items are sold?", "Greedy", 0.4, 512, 1.2, 0.8],
|
93 |
["./example_images/s2w_example.png", "What is this UI about?", "Greedy", 0.4, 512, 1.2, 0.8],
|
94 |
-
["./example_images/example_images_travel_tips.jpg", "I want to go somewhere similar to the one in the photo. Give me destinations and travel tips.",
|
95 |
-
["./example_images/chicken_on_money.png", "Can you tell me a very short story based on this image?", 0.4, 512, 1.2, 0.8],
|
96 |
-
["./example_images/baklava.png", "Where is this pastry from?", 0.4, 512, 1.2, 0.8],
|
97 |
-
["./example_images/dummy_pdf.png", "How much percent is the order status?", 0.4, 512, 1.2, 0.8],
|
98 |
-
["./example_images/art_critic.png", "As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.", 0.4, 512, 1.2, 0.8]]
|
99 |
|
100 |
# Hyper-parameters for generation
|
101 |
max_new_tokens = gr.Slider(
|
|
|
91 |
with gr.Accordion(label="Example Inputs and Advanced Generation Parameters"):
|
92 |
examples=[["./example_images/docvqa_example.png", "How many items are sold?", "Greedy", 0.4, 512, 1.2, 0.8],
|
93 |
["./example_images/s2w_example.png", "What is this UI about?", "Greedy", 0.4, 512, 1.2, 0.8],
|
94 |
+
["./example_images/example_images_travel_tips.jpg", "I want to go somewhere similar to the one in the photo. Give me destinations and travel tips.", "Greedy", 0.4, 512, 1.2, 0.8],
|
95 |
+
["./example_images/chicken_on_money.png", "Can you tell me a very short story based on this image?", "Greedy", 0.4, 512, 1.2, 0.8],
|
96 |
+
["./example_images/baklava.png", "Where is this pastry from?", "Greedy", 0.4, 512, 1.2, 0.8],
|
97 |
+
["./example_images/dummy_pdf.png", "How much percent is the order status?", "Greedy", 0.4, 512, 1.2, 0.8],
|
98 |
+
["./example_images/art_critic.png", "As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.", "Greedy", 0.4, 512, 1.2, 0.8]]
|
99 |
|
100 |
# Hyper-parameters for generation
|
101 |
max_new_tokens = gr.Slider(
|