Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,6 +169,7 @@ def agent(prompt_in,history,mod=2):
|
|
| 169 |
history = [history[-2:]]
|
| 170 |
role="PATHMAKER"
|
| 171 |
outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
|
|
|
|
| 172 |
history=history+[{'role':'assistant','content':str(outph)}]
|
| 173 |
yield history
|
| 174 |
role="MANAGER"
|
|
|
|
| 169 |
history = [history[-2:]]
|
| 170 |
role="PATHMAKER"
|
| 171 |
outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
|
| 172 |
+
print(outph)
|
| 173 |
history=history+[{'role':'assistant','content':str(outph)}]
|
| 174 |
yield history
|
| 175 |
role="MANAGER"
|