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