broadfield commited on
Commit
402fbbd
·
verified ·
1 Parent(s): b08f404

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+=[{'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+[{'role':'assistant','content':str(outph)}]
234
  yield history
235
  role="MANAGER"
236
  outp=generate(prompt,history,mod,128,seed,role,in_data)