"vscode:/vscode.git/clone" did not exist on "36815ef914216a61307477ccff3ee6fb0d7fda20"
Commit b002a294 authored by jerrrrry's avatar jerrrrry
Browse files

Update .gitlab-ci.yml

parent 0a286b32
Pipeline #3298 failed
...@@ -150,16 +150,16 @@ benchmark_wan2.1: ...@@ -150,16 +150,16 @@ benchmark_wan2.1:
# 备用方法:使用Python直接修改 # 备用方法:使用Python直接修改
python3 -c " python3 -c "
import re import re
with open('temp_test2.py', 'r') as f: with open('temp_test2.py', 'r') as f:
content = f.read() content = f.read()
# 使用正则表达式替换seed值 # 使用正则表达式替换seed值
content = re.sub(r'(\"seed\":\s*)\d+', r'\g<1>1234567890', content) content = re.sub(r'(\"seed\":\s*)\d+', r'\g<1>1234567890', content)
with open('temp_test2.py', 'w') as f: with open('temp_test2.py', 'w') as f:
f.write(content) f.write(content)
" "
# 再次验证 # 再次验证
if grep -q '"seed": 1234567890,' temp_test2.py; then if grep -q '"seed": 1234567890,' temp_test2.py; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment