Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,7 @@ def agent(prompt_in,history,mod=2):
|
|
265 |
print('CREATE_FILE called')
|
266 |
in_data[1]=com
|
267 |
temp1=file_template(com)
|
268 |
-
in_data[2]
|
269 |
out_o =generate(prompt,history,mod=mod,tok=10000,seed=seed,role="CREATE_FILE",data=in_data)
|
270 |
out_w=list(out_o)
|
271 |
ret1,ret2 = parse_json(out_w[2].split('<|im_end|>')[0])
|
|
|
265 |
print('CREATE_FILE called')
|
266 |
in_data[1]=com
|
267 |
temp1=file_template(com)
|
268 |
+
in_data[2]=temp1
|
269 |
out_o =generate(prompt,history,mod=mod,tok=10000,seed=seed,role="CREATE_FILE",data=in_data)
|
270 |
out_w=list(out_o)
|
271 |
ret1,ret2 = parse_json(out_w[2].split('<|im_end|>')[0])
|