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