fixed response
Browse files
app.py
CHANGED
|
@@ -544,7 +544,7 @@ if __name__ == '__main__':
|
|
| 544 |
|
| 545 |
image_gallery = returnImages()
|
| 546 |
|
| 547 |
-
for token in
|
| 548 |
if "eot_id" in token:
|
| 549 |
token = token.replace("<|eot_id|>","")
|
| 550 |
if token.startswith("-"):
|
|
|
|
| 544 |
|
| 545 |
image_gallery = returnImages()
|
| 546 |
|
| 547 |
+
for token in bot_responsechoices[0].delta.content:
|
| 548 |
if "eot_id" in token:
|
| 549 |
token = token.replace("<|eot_id|>","")
|
| 550 |
if token.startswith("-"):
|