Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def chat(
|
|
| 33 |
top_p=top_p)
|
| 34 |
|
| 35 |
# remove the first phrase identical to user prompt
|
| 36 |
-
if include_input:
|
| 37 |
bot_response = bot_response[0][len(user_input):]
|
| 38 |
bot_response = bot_response.replace("\n", "<br>")
|
| 39 |
|
|
|
|
| 33 |
top_p=top_p)
|
| 34 |
|
| 35 |
# remove the first phrase identical to user prompt
|
| 36 |
+
if not include_input:
|
| 37 |
bot_response = bot_response[0][len(user_input):]
|
| 38 |
bot_response = bot_response.replace("\n", "<br>")
|
| 39 |
|