Spaces:
Build error
Build error
Update app_dialogue.py
Browse files- app_dialogue.py +11 -2
app_dialogue.py
CHANGED
|
@@ -553,15 +553,24 @@ textbox = gr.Textbox(
|
|
| 553 |
label="Text input",
|
| 554 |
)
|
| 555 |
|
| 556 |
-
|
| 557 |
#chatbot {background-image: url('https://e7.pngegg.com/pngimages/393/627/png-clipart-obelix-asterix-cartoon-comic-book-comics-asterix-and-obelix-comics-food.png');}
|
| 558 |
"""
|
| 559 |
|
| 560 |
css = """
|
| 561 |
#chatbot {background-image: url('https://huggingface.co/spaces/ysharma/m4-dialogue_copy4/resolve/main/idefics_720.png');}
|
| 562 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 563 |
|
| 564 |
-
with gr.Blocks(title="IDEFICS-Chat", theme=gr.themes.Base(), css=
|
| 565 |
gr.Markdown(
|
| 566 |
"""
|
| 567 |
# IDEFICS
|
|
|
|
| 553 |
label="Text input",
|
| 554 |
)
|
| 555 |
|
| 556 |
+
css_not = """
|
| 557 |
#chatbot {background-image: url('https://e7.pngegg.com/pngimages/393/627/png-clipart-obelix-asterix-cartoon-comic-book-comics-asterix-and-obelix-comics-food.png');}
|
| 558 |
"""
|
| 559 |
|
| 560 |
css = """
|
| 561 |
#chatbot {background-image: url('https://huggingface.co/spaces/ysharma/m4-dialogue_copy4/resolve/main/idefics_720.png');}
|
| 562 |
"""
|
| 563 |
+
css1 = """
|
| 564 |
+
#chatbot {background-image: url('https://huggingface.co/spaces/ysharma/m4-dialogue_copy4/resolve/main/idefics_720_1.png');}
|
| 565 |
+
"""
|
| 566 |
+
css2 = """
|
| 567 |
+
#chatbot {background-image: url('https://huggingface.co/spaces/ysharma/m4-dialogue_copy4/resolve/main/idefics_720_2.png');}
|
| 568 |
+
"""
|
| 569 |
+
css3 = """
|
| 570 |
+
#chatbot {background-image: url('https://huggingface.co/spaces/ysharma/m4-dialogue_copy4/resolve/main/idefics_720_3.png');}
|
| 571 |
+
"""
|
| 572 |
|
| 573 |
+
with gr.Blocks(title="IDEFICS-Chat", theme=gr.themes.Base(), css=css3) as demo:
|
| 574 |
gr.Markdown(
|
| 575 |
"""
|
| 576 |
# IDEFICS
|