Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -90,11 +90,11 @@ with gr.Blocks(fill_height=False) as demo:
|
|
90 |
|
91 |
with gr.Accordion(label="Advanced Generation Parameters", open=False):
|
92 |
examples=[
|
93 |
-
["example_images/rococo.jpg", "What art era is this?", "", "
|
94 |
["example_images/examples_wat_arun.jpg", "I'm planning a visit to this temple, give me travel tips.", "", "Greedy", 0.4, 512, 1.2, 0.8],
|
95 |
-
["example_images/examples_invoice.png", "What is the due date and the invoice date?", "", "
|
96 |
-
["example_images/s2w_example.png", "What is this UI about?", "", "
|
97 |
-
["example_images/examples_weather_events.png", "Where do the severe droughts happen according to this diagram?", "", "
|
98 |
]
|
99 |
# Hyper-parameters for generation
|
100 |
max_new_tokens = gr.Slider(
|
|
|
90 |
|
91 |
with gr.Accordion(label="Advanced Generation Parameters", open=False):
|
92 |
examples=[
|
93 |
+
["example_images/rococo.jpg", "What art era is this?", "", "Greedy", 0.4, 512, 1.2, 0.8],
|
94 |
["example_images/examples_wat_arun.jpg", "I'm planning a visit to this temple, give me travel tips.", "", "Greedy", 0.4, 512, 1.2, 0.8],
|
95 |
+
["example_images/examples_invoice.png", "What is the due date and the invoice date?", "", "Greedy", 0.4, 512, 1.2, 0.8],
|
96 |
+
["example_images/s2w_example.png", "What is this UI about?", "", "Greedy", 0.4, 512, 1.2, 0.8],
|
97 |
+
["example_images/examples_weather_events.png", "Where do the severe droughts happen according to this diagram?", "", "Greedy", 0.4, 512, 1.2, 0.8],
|
98 |
]
|
99 |
# Hyper-parameters for generation
|
100 |
max_new_tokens = gr.Slider(
|