broadfield commited on
Commit
9ddedae
·
verified ·
1 Parent(s): 0795999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.append({'role':'assistant','content':str(outph)})
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.extend([{'role':'assistant','content':str(outph)}])
234
  yield history
235
  role="MANAGER"
236
  outp=generate(prompt,history,mod,128,seed,role,in_data)