change 1
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def generate(
|
|
59 |
seed = seed + 1
|
60 |
formatted_prompt = format_prompt(prompt, history, system_prompt)
|
61 |
|
62 |
-
stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=
|
63 |
output = ""
|
64 |
|
65 |
for response in stream:
|
|
|
59 |
seed = seed + 1
|
60 |
formatted_prompt = format_prompt(prompt, history, system_prompt)
|
61 |
|
62 |
+
stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=True)
|
63 |
output = ""
|
64 |
|
65 |
for response in stream:
|