Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def generate(
|
|
30 |
|
31 |
formatted_prompt = format_prompt(prompt, history)
|
32 |
|
33 |
-
stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=
|
34 |
output = ""
|
35 |
|
36 |
for response in stream:
|
|
|
30 |
|
31 |
formatted_prompt = format_prompt(prompt, history)
|
32 |
|
33 |
+
stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
34 |
output = ""
|
35 |
|
36 |
for response in stream:
|