Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,8 +231,13 @@ with gr.Blocks(title="llava", theme=gr.themes.Default(), css=block_css) as demo:
|
|
| 231 |
# [f"{cur_dir}/assets/georgia-tech.jpeg", "Where is this photo taken?"]
|
| 232 |
# ], inputs=[imagebox, textbox], cache_examples=False)
|
| 233 |
|
|
|
|
|
|
|
|
|
|
| 234 |
gr.Examples(examples=[
|
| 235 |
-
[f"{cur_dir}/assets/animal-compare.png", "Are these two pictures showing the same kind of animal?"]
|
|
|
|
|
|
|
| 236 |
], inputs=[imagebox, textbox], cache_examples=False)
|
| 237 |
|
| 238 |
with gr.Accordion("Parameters", open=False) as parameter_row:
|
|
|
|
| 231 |
# [f"{cur_dir}/assets/georgia-tech.jpeg", "Where is this photo taken?"]
|
| 232 |
# ], inputs=[imagebox, textbox], cache_examples=False)
|
| 233 |
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
|
| 237 |
gr.Examples(examples=[
|
| 238 |
+
[f"{cur_dir}/assets/animal-compare.png", "Are these two pictures showing the same kind of animal?"],
|
| 239 |
+
[f"{cur_dir}/assets/funny_image.jpeg", "Why this image funny?"],
|
| 240 |
+
[f"{cur_dir}/assets/health-insurance.png", "Under which circumstances do I need to be enrolled in mandatory health insurance if I am an international student?"],
|
| 241 |
], inputs=[imagebox, textbox], cache_examples=False)
|
| 242 |
|
| 243 |
with gr.Accordion("Parameters", open=False) as parameter_row:
|