Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ def chat(user_input):
|
|
16 |
bot_response = "hello world"
|
17 |
response = ""
|
18 |
for word in bot_response.split(" "):
|
19 |
-
response
|
20 |
-
yield response
|
21 |
|
22 |
with gr.Blocks() as demo:
|
23 |
chatbot = gr.Chatbot()
|
|
|
16 |
bot_response = "hello world"
|
17 |
response = ""
|
18 |
for word in bot_response.split(" "):
|
19 |
+
response += word + " "
|
20 |
+
yield [(user_input, response)]
|
21 |
|
22 |
with gr.Blocks() as demo:
|
23 |
chatbot = gr.Chatbot()
|