Skip to content
This repository was archived by the owner on Oct 19, 2025. It is now read-only.

Commit 546d4ec

Browse files
committed
🐛 修复 waifu2x-caffe 引擎路径包含空格时出错
1 parent 88bc896 commit 546d4ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/batch_waifu2x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main(engine, file, file_path, open_button, *options):
132132
else:
133133
if engine == "waifu2x-caffe":
134134
code = file_path2abs("./files/else_upscale_engine/waifu2x-caffe/waifu2x-caffe-cui.exe")
135-
code += " -i {} -o {} -m {} -s {} -n {}".format(
135+
code += ' -i "{}" -o "{}" -m {} -s {} -n {}'.format(
136136
file_path2abs(j), file_path2abs(otp), options[0], options[1], options[2]
137137
)
138138
if options[3] != "gpu":

0 commit comments

Comments
 (0)