Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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?",
|
93 |
-
["example_images/examples_wat_arun.jpg", "Give me travel tips for the area around this monument.",
|
94 |
-
["example_images/examples_invoice.png", "What is the due date and the invoice date?",
|
95 |
-
["example_images/s2w_example.png", "What is this UI about?",
|
96 |
-
["example_images/examples_weather_events.png", "Where do the severe droughts happen according to this diagram?",
|
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(
|