Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -242,7 +242,7 @@ def agent(prompt_in,history,mod=2):
|
|
242 |
out_o =generate(prompt,history,mod=mod,tok=10000,seed=seed,role="CREATE_FILE",data=in_data)
|
243 |
out_w=list(out_o)
|
244 |
ret1,ret2 = parse_json(out_w[2])
|
245 |
-
build_space(
|
246 |
elif 'IMAGE' in fn:
|
247 |
print('IMAGE called')
|
248 |
#out_im=gen_im(prompt,seed)
|
|
|
242 |
out_o =generate(prompt,history,mod=mod,tok=10000,seed=seed,role="CREATE_FILE",data=in_data)
|
243 |
out_w=list(out_o)
|
244 |
ret1,ret2 = parse_json(out_w[2])
|
245 |
+
build_space(out_w[0],ret1,ret2)
|
246 |
elif 'IMAGE' in fn:
|
247 |
print('IMAGE called')
|
248 |
#out_im=gen_im(prompt,seed)
|