Spaces:
Runtime error
Runtime error
Update interaction.py
Browse files- interaction.py +3 -3
interaction.py
CHANGED
|
@@ -115,11 +115,11 @@ class MindBot(object):
|
|
| 115 |
|
| 116 |
def new_chat_bot(self):
|
| 117 |
|
| 118 |
-
with gr.Blocks(title='IDEA
|
| 119 |
-
gr.Markdown("<center><h1>IDEA
|
| 120 |
gr.Markdown("<center>本页面基于hugging face支持的设备搭建</center>")
|
| 121 |
with gr.Row():
|
| 122 |
-
chatbot = gr.Chatbot(label='
|
| 123 |
with gr.Row():
|
| 124 |
msg = gr.Textbox(label="Input")
|
| 125 |
with gr.Row():
|
|
|
|
| 115 |
|
| 116 |
def new_chat_bot(self):
|
| 117 |
|
| 118 |
+
with gr.Blocks(title='IDEA Ziya', css=".gradio-container {max-width: 50% !important;} .bgcolor {color: white !important; background: #FFA500 !important;}") as demo:
|
| 119 |
+
gr.Markdown("<center><h1>IDEA Ziya</h1></center>")
|
| 120 |
gr.Markdown("<center>本页面基于hugging face支持的设备搭建</center>")
|
| 121 |
with gr.Row():
|
| 122 |
+
chatbot = gr.Chatbot(label='Ziya').style(height=500)
|
| 123 |
with gr.Row():
|
| 124 |
msg = gr.Textbox(label="Input")
|
| 125 |
with gr.Row():
|