Upload cogagent_infer.py with huggingface_hub
Browse files- cogagent_infer.py +1 -0
cogagent_infer.py
CHANGED
|
@@ -198,6 +198,7 @@ def main():
|
|
| 198 |
}
|
| 199 |
res.append(ans)
|
| 200 |
round_num += 1
|
|
|
|
| 201 |
with open("args.output_json", "w", encoding="utf-8") as file:
|
| 202 |
json.dump(res, file, ensure_ascii=False, indent=4)
|
| 203 |
|
|
|
|
| 198 |
}
|
| 199 |
res.append(ans)
|
| 200 |
round_num += 1
|
| 201 |
+
print(res)
|
| 202 |
with open("args.output_json", "w", encoding="utf-8") as file:
|
| 203 |
json.dump(res, file, ensure_ascii=False, indent=4)
|
| 204 |
|