broadfield commited on
Commit
15f13d4
·
verified ·
1 Parent(s): 4d9158b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -174,6 +174,7 @@ def agent(prompt_in,history,mod=2):
174
  history = [history[-2:]]
175
  role="PATHMAKER"
176
  outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
 
177
  print(outph)
178
  history=history+[{'role':'assistant','content':str(outph)}]
179
  yield [{'role':'assistant','content':str(outph)}]
 
174
  history = [history[-2:]]
175
  role="PATHMAKER"
176
  outph= list(generate(prompt,history,mod,2400,seed,role,in_data))[0]
177
+ in_data[4]=outph
178
  print(outph)
179
  history=history+[{'role':'assistant','content':str(outph)}]
180
  yield [{'role':'assistant','content':str(outph)}]