Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ def agent(prompt_in,history,mod=2):
|
|
175 |
role="PATHMAKER"
|
176 |
outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
|
177 |
print(outph)
|
178 |
-
history
|
179 |
yield history
|
180 |
role="MANAGER"
|
181 |
outp=generate(prompt,history,mod,128,seed,role,in_data)
|
|
|
175 |
role="PATHMAKER"
|
176 |
outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
|
177 |
print(outph)
|
178 |
+
history+[{'role':'assistant','content':str(outph)}]
|
179 |
yield history
|
180 |
role="MANAGER"
|
181 |
outp=generate(prompt,history,mod,128,seed,role,in_data)
|