Spaces:
Runtime error
Runtime error
Update app.py
#1
by
merve
HF staff
- opened
app.py
CHANGED
@@ -28,7 +28,10 @@ def respond(multimodal_input):
|
|
28 |
|
29 |
gr.Interface(
|
30 |
respond,
|
|
|
|
|
31 |
inputs=[gr.MultimodalTextbox(file_types=["image"], show_label=False)],
|
32 |
-
outputs=[gr.Textbox(label="idefics2-8b"), gr.Textbox(label="idefics2-8b-dpoed")]
|
|
|
33 |
).launch()
|
34 |
|
|
|
28 |
|
29 |
gr.Interface(
|
30 |
respond,
|
31 |
+
title="Compare IDEFICS2-8B Against DPO",
|
32 |
+
description="",
|
33 |
inputs=[gr.MultimodalTextbox(file_types=["image"], show_label=False)],
|
34 |
+
outputs=[gr.Textbox(label="idefics2-8b"), gr.Textbox(label="idefics2-8b-dpoed")]
|
35 |
+
examples=[{"text": "Describe this image in detail.", "files": [{path: "./bee.jpg"]"}],
|
36 |
).launch()
|
37 |
|