andito HF staff commited on
Commit
e3c281f
·
verified ·
1 Parent(s): 9351f61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -89,11 +89,11 @@ with gr.Blocks(fill_height=True) as demo:
89
 
90
  with gr.Accordion(label="Examples and Advanced Generation Parameters"):
91
  examples=[
92
- ["example_images/rococo.jpg", "What art era is this?", None, "Greedy", 0.4, 512, 1.2, 0.8],
93
- ["example_images/examples_wat_arun.jpg", "Give me travel tips for the area around this monument.", None, "Greedy", 0.4, 512, 1.2, 0.8],
94
- ["example_images/examples_invoice.png", "What is the due date and the invoice date?", None, "Greedy", 0.4, 512, 1.2, 0.8],
95
- ["example_images/s2w_example.png", "What is this UI about?", None, "Greedy", 0.4, 512, 1.2, 0.8],
96
- ["example_images/examples_weather_events.png", "Where do the severe droughts happen according to this diagram?", None, "Greedy", 0.4, 512, 1.2, 0.8],
97
  ]
98
  # Hyper-parameters for generation
99
  max_new_tokens = gr.Slider(
 
89
 
90
  with gr.Accordion(label="Examples and Advanced Generation Parameters"):
91
  examples=[
92
+ ["example_images/rococo.jpg", "What art era is this?", "", "Greedy", 0.4, 512, 1.2, 0.8],
93
+ ["example_images/examples_wat_arun.jpg", "Give me travel tips for the area around this monument.", "", "Greedy", 0.4, 512, 1.2, 0.8],
94
+ ["example_images/examples_invoice.png", "What is the due date and the invoice date?", "", "Greedy", 0.4, 512, 1.2, 0.8],
95
+ ["example_images/s2w_example.png", "What is this UI about?", "", "Greedy", 0.4, 512, 1.2, 0.8],
96
+ ["example_images/examples_weather_events.png", "Where do the severe droughts happen according to this diagram?", "", "Greedy", 0.4, 512, 1.2, 0.8],
97
  ]
98
  # Hyper-parameters for generation
99
  max_new_tokens = gr.Slider(