broadfield commited on
Commit
dced40c
·
verified ·
1 Parent(s): e63ac56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -199,7 +199,8 @@ def agent(prompt_in,history,mod=2):
199
  if 'CREATE_FILE' in fn:
200
  print('CREATE_FILE called')
201
  in_data[1]=com
202
- out_w =generate(prompt,history,mod=mod,tok=10000,seed=seed,role="CREATE_FILE",data=in_data)
 
203
  build_space(out_w[0],out_w[1],out_w[2])
204
  elif 'IMAGE' in fn:
205
  print('IMAGE called')
 
199
  if 'CREATE_FILE' in fn:
200
  print('CREATE_FILE called')
201
  in_data[1]=com
202
+ out_o =generate(prompt,history,mod=mod,tok=10000,seed=seed,role="CREATE_FILE",data=in_data)
203
+ out_w=list(out_o)
204
  build_space(out_w[0],out_w[1],out_w[2])
205
  elif 'IMAGE' in fn:
206
  print('IMAGE called')