mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
rm useless comments
This commit is contained in:
parent
609f604606
commit
12e9009529
1 changed files with 0 additions and 4 deletions
|
|
@ -4,16 +4,12 @@
|
|||
import runpy
|
||||
import sys
|
||||
|
||||
# 备份原始的sys.argv
|
||||
original_argv = sys.argv.copy()
|
||||
|
||||
try:
|
||||
# 设置你想要传递给脚本的命令行参数
|
||||
sys.argv = ['run_api.py', '--dataset_name_or_path', 'princeton-nlp/SWE-bench_oracle', '--output_dir',
|
||||
'./outputs']
|
||||
# 添加其他可选参数到sys.argv中,例如:
|
||||
# sys.argv.extend(['--some_option', 'some_value'])
|
||||
|
||||
# 执行脚本
|
||||
runpy.run_path(path_name='run_api.py', run_name='__main__')
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue