Browse Source

完善打包命令行 bat

mrh 1 year ago
parent
commit
ac8601ff3e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      config.json
  2. 1 1
      run_gui.bat

+ 1 - 1
config.json

@@ -1,5 +1,5 @@
 {
-    "USE_MODELSCOPE": "1",
+    "USE_MODELSCOPE": "0",
     "PDF2ZH_LANG_FROM": "English",
     "PDF2ZH_LANG_TO": "Simplified Chinese",
     "NOTO_FONT_PATH": "/app/SourceHanSerifCN-Regular.ttf",

+ 1 - 1
run_gui.bat

@@ -1 +1 @@
-.\pdf_env\python.exe -m pdf2zh.pdf2zh -i --config config.json --onnx .\onnx\doclayout_yolo_docstructbench_imgsz1024.onnx
+.\pdf_env\python.exe -m pdf2zh.pdf2zh -i --config config.json