Răsfoiți Sursa

fix: revert json_url in configure_model to use original MinerU template

myhloli 5 luni în urmă
părinte
comite
91208fb1bd
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      mineru/cli/models_download.py

+ 1 - 2
mineru/cli/models_download.py

@@ -42,8 +42,7 @@ def download_and_modify_json(url, local_filename, modifications):
 
 def configure_model(model_dir, model_type):
     """配置模型"""
-    # json_url = 'https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/mineru.template.json'
-    json_url = 'https://gcore.jsdelivr.net/gh/myhloli/Magic-PDF@dev/mineru.template.json'
+    json_url = 'https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/mineru.template.json'
     config_file_name = 'mineru.json'
     home_dir = os.path.expanduser('~')
     config_file = os.path.join(home_dir, config_file_name)