Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def generate(
|
|
| 46 |
|
| 47 |
formatted_prompt = format_prompt(prompt, history)
|
| 48 |
|
| 49 |
-
stream = client.text_generation(
|
| 50 |
output = ""
|
| 51 |
|
| 52 |
for response in stream:
|
|
|
|
| 46 |
|
| 47 |
formatted_prompt = format_prompt(prompt, history)
|
| 48 |
|
| 49 |
+
stream = client.text_generation(prompt1, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
| 50 |
output = ""
|
| 51 |
|
| 52 |
for response in stream:
|