Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,8 +89,8 @@ def bot_streaming(message, history):
89
  buffer = ""
90
  time.sleep(0.5)
91
  for new_text in streamer:
92
- if "<|end|>" in new_text:
93
- break
94
  buffer += new_text
95
 
96
  generated_text_without_prompt = buffer
 
89
  buffer = ""
90
  time.sleep(0.5)
91
  for new_text in streamer:
92
+ # if "<|endoftext|>" in new_text:
93
+ # break
94
  buffer += new_text
95
 
96
  generated_text_without_prompt = buffer