anna1au commited on
Commit
f99759e
·
verified ·
1 Parent(s): 9f7e364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def respond(message, history):
93
  for i in complete:
94
  token = message.choices[0].delta.content
95
  response += token
96
- yield response["choices"][0]["message"]["content"].strip()
97
  #return response["choices"][0]["message"]["content"].strip()
98
 
99
  chatBot = gr.ChatInterface(respond, type = "messages")
 
93
  for i in complete:
94
  token = message.choices[0].delta.content
95
  response += token
96
+ yield response
97
  #return response["choices"][0]["message"]["content"].strip()
98
 
99
  chatBot = gr.ChatInterface(respond, type = "messages")