Spaces:
Runtime error
Runtime error
Commit
·
85c2768
1
Parent(s):
26af817
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,9 @@ chat_history = ['']
|
|
27 |
|
28 |
|
29 |
with gr.Blocks() as demo:
|
30 |
-
chatbot = gr.Chatbot()
|
31 |
-
msg = gr.Textbox(
|
|
|
32 |
clear = gr.ClearButton([msg, chatbot])
|
33 |
|
34 |
def respond(message, chat_history):
|
|
|
27 |
|
28 |
|
29 |
with gr.Blocks() as demo:
|
30 |
+
chatbot = gr.Chatbot(value=[], elem_id="chatbot")
|
31 |
+
msg = gr.Textbox(show_label=False,
|
32 |
+
placeholder="Enter text and press enter")
|
33 |
clear = gr.ClearButton([msg, chatbot])
|
34 |
|
35 |
def respond(message, chat_history):
|