Spaces:
Runtime error
Runtime error
VictorSanh
commited on
Commit
•
1ca15bb
1
Parent(s):
dd3cb2c
duplicate button
Browse files- app_dialogue.py +4 -4
app_dialogue.py
CHANGED
@@ -495,13 +495,13 @@ chatbot = gr.Chatbot(
|
|
495 |
image_flag = gr.Image(visible=False)
|
496 |
with gr.Blocks(
|
497 |
fill_height=True,
|
498 |
-
css=""".gradio-container .avatar-container {height: 40px width: 40px !important;}""",
|
499 |
) as demo:
|
500 |
|
501 |
-
gr.Markdown("# 🐶 Idefics2
|
502 |
-
gr.Markdown("In this demo you'll be able to chat with [Idefics2-8B-chatty](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty), a variant of [Idefics2-8B](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty) further fine-tuned on chat datasets")
|
503 |
gr.Markdown("If you want to learn more about Idefics2 and its variants, you can check our [blog post](https://huggingface.co/blog/idefics2).")
|
504 |
-
|
505 |
# model selector should be set to `visbile=False` ultimately
|
506 |
with gr.Row(elem_id="model_selector_row"):
|
507 |
model_selector = gr.Dropdown(
|
|
|
495 |
image_flag = gr.Image(visible=False)
|
496 |
with gr.Blocks(
|
497 |
fill_height=True,
|
498 |
+
css=""".gradio-container .avatar-container {height: 40px width: 40px !important;} #duplicate-button {margin: auto; color: white; background: #f1a139; border-radius: 100vh;}""",
|
499 |
) as demo:
|
500 |
|
501 |
+
gr.Markdown("# 🐶 Hugging Face Idefics2 8B Chatty")
|
502 |
+
gr.Markdown("In this demo you'll be able to chat with [Idefics2-8B-chatty](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty), a variant of [Idefics2-8B](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty) further fine-tuned on chat datasets.")
|
503 |
gr.Markdown("If you want to learn more about Idefics2 and its variants, you can check our [blog post](https://huggingface.co/blog/idefics2).")
|
504 |
+
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
505 |
# model selector should be set to `visbile=False` ultimately
|
506 |
with gr.Row(elem_id="model_selector_row"):
|
507 |
model_selector = gr.Dropdown(
|