Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def generate(prompt, history):
|
|
| 44 |
|
| 45 |
for response in stream:
|
| 46 |
output += response.token.text
|
| 47 |
-
yield [(prompt,output)]
|
| 48 |
|
| 49 |
'''
|
| 50 |
with open('tmp.txt','w') as t:
|
|
|
|
| 44 |
|
| 45 |
for response in stream:
|
| 46 |
output += response.token.text
|
| 47 |
+
yield [(prompt,output)],output1
|
| 48 |
|
| 49 |
'''
|
| 50 |
with open('tmp.txt','w') as t:
|