Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|