Update app.py
Browse files
app.py
CHANGED
@@ -92,15 +92,15 @@ with gr.Blocks(fill_height=True) as demo:
|
|
92 |
|
93 |
with gr.Accordion(label="Example Inputs and Advanced Generation Parameters"):
|
94 |
examples=[
|
95 |
-
["example_images/mmmu_example.jpeg", "
|
96 |
-
["example_images/rococo_1.jpg",
|
97 |
-
["example_images/paper_with_text.png",
|
98 |
-
["example_images/dragons_playing.png",
|
99 |
-
["example_images/example_images_ai2d_example_2.jpeg",
|
100 |
-
["example_images/travel_tips.jpg",
|
101 |
-
["example_images/dummy_pdf.png",
|
102 |
-
["example_images/art_critic.png",
|
103 |
-
["example_images/s2w_example.png",
|
104 |
|
105 |
# Hyper-parameters for generation
|
106 |
max_new_tokens = gr.Slider(
|
|
|
92 |
|
93 |
with gr.Accordion(label="Example Inputs and Advanced Generation Parameters"):
|
94 |
examples=[
|
95 |
+
["example_images/mmmu_example.jpeg", "Chase wants to buy 4 kilograms of oval beads and 5 kilograms of star-shaped beads. How much will he spend?", "Let's think step by step.", "Greedy", 0.4, 512, 1.2, 0.8],
|
96 |
+
["example_images/rococo_1.jpg", "What art era is this?", None, "Greedy", 0.4, 512, 1.2, 0.8],
|
97 |
+
["example_images/paper_with_text.png", "Read what's written on the paper", None, "Greedy", 0.4, 512, 1.2, 0.8],
|
98 |
+
["example_images/dragons_playing.png","What's unusual about this image?",None, "Greedy", 0.4, 512, 1.2, 0.8],
|
99 |
+
["example_images/example_images_ai2d_example_2.jpeg", "What happens to fish if pelicans increase?", None, "Greedy", 0.4, 512, 1.2, 0.8],
|
100 |
+
["example_images/travel_tips.jpg", "I want to go somewhere similar to the one in the photo. Give me destinations and travel tips.", None, "Greedy", 0.4, 512, 1.2, 0.8],
|
101 |
+
["example_images/dummy_pdf.png", "How much percent is the order status?", None, "Greedy", 0.4, 512, 1.2, 0.8],
|
102 |
+
["example_images/art_critic.png", "As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.",None, "Greedy", 0.4, 512, 1.2, 0.8],
|
103 |
+
["example_images/s2w_example.png", "What is this UI about?", None,"Greedy", 0.4, 512, 1.2, 0.8]]
|
104 |
|
105 |
# Hyper-parameters for generation
|
106 |
max_new_tokens = gr.Slider(
|