Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def vote(data: gr.LikeData):
|
|
65 |
else:
|
66 |
print("You downvoted this response: " + data.value)
|
67 |
with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as rxbot:
|
68 |
-
chatbot = gr.Chatbot(elem_id="chatbot",bubble_full_width=False,show_copy_button=True,avatar_images=('/home/user/app/cat.png', '/home/user/app/lss.png'),)
|
69 |
state = gr.State([])
|
70 |
with gr.Row():
|
71 |
txt = gr.Textbox(show_label=False, placeholder="请输入你的问题").style(container=False)
|
|
|
65 |
else:
|
66 |
print("You downvoted this response: " + data.value)
|
67 |
with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as rxbot:
|
68 |
+
chatbot = gr.Chatbot(elem_id="chatbot",bubble_full_width=False,show_copy_button=True,layout = 'panel',avatar_images=('/home/user/app/cat.png', '/home/user/app/lss.png'),)
|
69 |
state = gr.State([])
|
70 |
with gr.Row():
|
71 |
txt = gr.Textbox(show_label=False, placeholder="请输入你的问题").style(container=False)
|