chansung commited on
Commit
5a9e82b
1 Parent(s): 349875c

Update app.py

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