WUBIAO commited on
Commit
f33e794
·
verified ·
1 Parent(s): af7f6d6

Upload cogagent_infer.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. cogagent_infer.py +1 -1
cogagent_infer.py CHANGED
@@ -199,7 +199,7 @@ def main():
199
  res.append(ans)
200
  round_num += 1
201
  print(res)
202
- with open("args.output_json", "w") as file:
203
  print("Writing to json file")
204
  json.dump(res, file, indent=4)
205
 
 
199
  res.append(ans)
200
  round_num += 1
201
  print(res)
202
+ with open(args.output_json, "w") as file:
203
  print("Writing to json file")
204
  json.dump(res, file, indent=4)
205