Spaces:
Running
on
Zero
Running
on
Zero
MaziyarPanahi
commited on
Commit
•
6f45dd0
1
Parent(s):
099dbb9
Update app.py
Browse files
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 "<|
|
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
|