chansung commited on
Commit
953dd6b
1 Parent(s): 0ca3749

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ history = []
18
  simple_history = []
19
 
20
  def chat(user_input):
21
- bot_response = get_output(generator, user_input)[0][:len(user_input)+1]
22
 
23
  history.append({
24
  "role": "user",
 
18
  simple_history = []
19
 
20
  def chat(user_input):
21
+ bot_response = get_output(generator, user_input)[0][len(user_input):]
22
 
23
  history.append({
24
  "role": "user",