Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def models(text, model="Mixtral 8x7B"):
|
|
26 |
|
27 |
formatted_prompt = system_instructions1 + text + "[JARVIS]"
|
28 |
stream = client.text_generation(
|
29 |
-
formatted_prompt, **generate_kwargs, stream=True, details=
|
30 |
output = ""
|
31 |
for response in stream:
|
32 |
if not response.token.text == "</s>":
|
|
|
26 |
|
27 |
formatted_prompt = system_instructions1 + text + "[JARVIS]"
|
28 |
stream = client.text_generation(
|
29 |
+
formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
30 |
output = ""
|
31 |
for response in stream:
|
32 |
if not response.token.text == "</s>":
|