merve HF staff commited on
Commit
4d3b5fa
1 Parent(s): 179e614

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
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", "Let's think step by step.", "Chase wants to buy 4 kilograms of oval beads and 5 kilograms of star-shaped beads. How much will he spend?", "Greedy", 0.4, 512, 1.2, 0.8],
96
- ["example_images/rococo_1.jpg", None, "What art era is this?", "Greedy", 0.4, 512, 1.2, 0.8],
97
- ["example_images/paper_with_text.png", None, "Read what's written on the paper", "Greedy", 0.4, 512, 1.2, 0.8],
98
- ["example_images/dragons_playing.png", None, "What's unusual about this image?", "Greedy", 0.4, 512, 1.2, 0.8],
99
- ["example_images/example_images_ai2d_example_2.jpeg", None, "What happens to fish if pelicans increase?", "Greedy", 0.4, 512, 1.2, 0.8],
100
- ["example_images/travel_tips.jpg", None, "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],
101
- ["example_images/dummy_pdf.png", None, "How much percent is the order status?", "Greedy", 0.4, 512, 1.2, 0.8],
102
- ["example_images/art_critic.png", None, "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],
103
- ["example_images/s2w_example.png", None, "What is this UI about?", "Greedy", 0.4, 512, 1.2, 0.8]]
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(