Update app.py
Browse files
app.py
CHANGED
|
@@ -31,10 +31,6 @@ def models(text, model="Mixtral 8x7B"):
|
|
| 31 |
for response in stream:
|
| 32 |
if not response.token.text == "</s>":
|
| 33 |
output += response.token.text
|
| 34 |
-
|
| 35 |
-
if not response.token.text == "<|assistant|>":
|
| 36 |
-
output += response.token.text
|
| 37 |
-
|
| 38 |
return output
|
| 39 |
|
| 40 |
description="""# Chat GO
|
|
|
|
| 31 |
for response in stream:
|
| 32 |
if not response.token.text == "</s>":
|
| 33 |
output += response.token.text
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
return output
|
| 35 |
|
| 36 |
description="""# Chat GO
|