ArmelR commited on
Commit
aa877ce
·
1 Parent(s): a233551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -140,6 +140,7 @@ def generate(
140
  output += response.token.text
141
  previous_token = response.token.text
142
  yield wrap_html_code(output.strip())
 
143
 
144
  # chatbot mode
145
  def user(user_message, history):
 
140
  output += response.token.text
141
  previous_token = response.token.text
142
  yield wrap_html_code(output.strip())
143
+ return wrap_html_code(output.strip())
144
 
145
  # chatbot mode
146
  def user(user_message, history):