Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -97,9 +97,9 @@ def generate(prompt,history,mod=2,tok=4000,seed=1,role="ASSISTANT",data=None):
|
|
97 |
for response in stream:
|
98 |
output += response.token.text
|
99 |
#print(output)
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
|
104 |
elif role=="CREATE_FILE":
|
105 |
print("Running Create File")
|
|
|
97 |
for response in stream:
|
98 |
output += response.token.text
|
99 |
#print(output)
|
100 |
+
yield output
|
101 |
+
yield history
|
102 |
+
yield prompt
|
103 |
|
104 |
elif role=="CREATE_FILE":
|
105 |
print("Running Create File")
|