zxcgqq commited on
Commit
c838094
·
1 Parent(s): 6995ef2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -2,13 +2,13 @@ import gradio as gr
2
 
3
 
4
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
5
- chatbot = gr.Chatbot(elem_id="chatbot")
6
  with gr.Row() as input_raws:
7
- with gr.Column(scale=0.7):
8
- txt = gr.Textbox().style(container=False)
9
- with gr.Column(scale=0.10, min_width=0):
10
  run = gr.Button("🏃‍♂️Run")
11
- with gr.Column(scale=0.10, min_width=0):
12
  clear = gr.Button("🔄Clear️")
13
 
14
  demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7860)
 
2
 
3
 
4
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
5
+ chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
6
  with gr.Row() as input_raws:
7
+ with gr.Column(scale=0.6):
8
+ txt = gr.Textbox(show_label=False).style(container=False)
9
+ with gr.Column(scale=0.20, min_width=0):
10
  run = gr.Button("🏃‍♂️Run")
11
+ with gr.Column(scale=0.20, min_width=0):
12
  clear = gr.Button("🔄Clear️")
13
 
14
  demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7860)