Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,11 +85,18 @@ def run(purpose,history,model_drop):
|
|
| 85 |
################################################
|
| 86 |
style="""
|
| 87 |
.top_head{
|
| 88 |
-
background:
|
|
|
|
|
|
|
|
|
|
| 89 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
"""
|
| 91 |
with gr.Blocks(css=style) as iface:
|
| 92 |
-
gr.HTML("""<div class="top_head"><center><h1>Mixtral Chat Diffusion</h1><br><h3>This chatbot will generate images</h3></center></div?""")
|
| 93 |
#chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
| 94 |
with gr.Row():
|
| 95 |
with gr.Column():
|
|
|
|
| 85 |
################################################
|
| 86 |
style="""
|
| 87 |
.top_head{
|
| 88 |
+
background: no-repeat;
|
| 89 |
+
background-image: url(https://huggingface.co/spaces/johann22/chat-diffusion/resolve/main/image.png);
|
| 90 |
+
background-position-y: bottom;
|
| 91 |
+
height: 200px;
|
| 92 |
}
|
| 93 |
+
.top_h1{
|
| 94 |
+
color:blue;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
"""
|
| 98 |
with gr.Blocks(css=style) as iface:
|
| 99 |
+
gr.HTML("""<div class="top_head"><center><h1 class="top_h1">Mixtral Chat Diffusion</h1><br><h3 class="top_h1">This chatbot will generate images</h3></center></div?""")
|
| 100 |
#chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
| 101 |
with gr.Row():
|
| 102 |
with gr.Column():
|