Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -230,7 +230,7 @@ def agent(prompt_in,history,mod=2):
|
|
230 |
outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
|
231 |
in_data[4]=outph
|
232 |
print(outph)
|
233 |
-
history
|
234 |
yield history
|
235 |
role="MANAGER"
|
236 |
outp=generate(prompt,history,mod,128,seed,role,in_data)
|
|
|
230 |
outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
|
231 |
in_data[4]=outph
|
232 |
print(outph)
|
233 |
+
history+[{'role':'assistant','content':str(outph)}]
|
234 |
yield history
|
235 |
role="MANAGER"
|
236 |
outp=generate(prompt,history,mod,128,seed,role,in_data)
|