Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,7 @@ import gradio as gr
|
|
2 |
|
3 |
|
4 |
with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
|
5 |
-
|
6 |
-
chatbot = gr.Chatbot(elem_id="chatbot")
|
7 |
-
state = gr.State([])
|
8 |
-
|
9 |
with gr.Row() as input_raws:
|
10 |
with gr.Column(scale=0.7):
|
11 |
txt = gr.Textbox()
|
@@ -14,5 +11,4 @@ with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
|
|
14 |
with gr.Column(scale=0.10, min_width=0):
|
15 |
clear = gr.Button("🔄Clear️")
|
16 |
|
17 |
-
|
18 |
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")
|
|
|
|
|
|
|
6 |
with gr.Row() as input_raws:
|
7 |
with gr.Column(scale=0.7):
|
8 |
txt = gr.Textbox()
|
|
|
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)
|