Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -467,11 +467,7 @@ a7=gr.Interface(
|
|
| 467 |
inputs=[gr.MultimodalTextbox(file_types=["image"], show_label=False), gr.Textbox()],
|
| 468 |
outputs="text",
|
| 469 |
title="IDEFICS2-8B DPO",
|
| 470 |
-
description="Try IDEFICS2-8B fine-tuned using direct preference optimization (DPO) in this demo. Learn more about vision language model DPO integration of TRL [here](https://huggingface.co/blog/dpo_vlm)."
|
| 471 |
-
examples=[
|
| 472 |
-
{"text": "What is the type of flower in the image and what insect is on it?", "files": ["./bee.jpg"]},
|
| 473 |
-
{"text": "Describe the image", "files": ["./howl.jpg"]},
|
| 474 |
-
],
|
| 475 |
)
|
| 476 |
aa=gr.ChatInterface(
|
| 477 |
respond1,
|
|
|
|
| 467 |
inputs=[gr.MultimodalTextbox(file_types=["image"], show_label=False), gr.Textbox()],
|
| 468 |
outputs="text",
|
| 469 |
title="IDEFICS2-8B DPO",
|
| 470 |
+
description="Try IDEFICS2-8B fine-tuned using direct preference optimization (DPO) in this demo. Learn more about vision language model DPO integration of TRL [here](https://huggingface.co/blog/dpo_vlm)."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 471 |
)
|
| 472 |
aa=gr.ChatInterface(
|
| 473 |
respond1,
|