Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,9 @@ def models(text, model="Mixtral 8x7B"):
|
|
32 |
if "Phi" in model:
|
33 |
output = output[:-13]
|
34 |
yield output
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
return output
|
39 |
|
40 |
description="""# Chat GO
|
|
|
32 |
if "Phi" in model:
|
33 |
output = output[:-13]
|
34 |
yield output
|
35 |
+
|
36 |
+
if not response.token.text == "</s>":
|
37 |
+
output += response.token.text
|
38 |
return output
|
39 |
|
40 |
description="""# Chat GO
|