Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def generateZep(inputuno, inputdos):
|
|
41 |
|
42 |
formatted_prompt = f"<s>[INST] {new_prompt} {promptdos} [/INST]"
|
43 |
|
44 |
-
stream = client.text_generation(formatted_prompt,
|
45 |
output = ""
|
46 |
|
47 |
for response in stream:
|
|
|
41 |
|
42 |
formatted_prompt = f"<s>[INST] {new_prompt} {promptdos} [/INST]"
|
43 |
|
44 |
+
stream = client.text_generation(formatted_prompt, stream=True, details=True, return_full_text=False)
|
45 |
output = ""
|
46 |
|
47 |
for response in stream:
|