chansung commited on
Commit
f57923a
1 Parent(s): 2334dc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = response + " " + word
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()