Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def generate(
|
|
77 |
|
78 |
formatted_prompt = format_prompt(prompt, history)
|
79 |
|
80 |
-
stream =
|
81 |
output = ""
|
82 |
|
83 |
for response in stream:
|
|
|
77 |
|
78 |
formatted_prompt = format_prompt(prompt, history)
|
79 |
|
80 |
+
stream = text_client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
81 |
output = ""
|
82 |
|
83 |
for response in stream:
|