Abhinav Gavireddi commited on
Commit
55003d7
·
1 Parent(s): 8df2968

[fix]: fixed pdf parsing

Browse files
Files changed (1) hide show
  1. src/ghm.py +1 -1
src/ghm.py CHANGED
@@ -60,7 +60,7 @@ def initialize_models():
60
  # shutil.copytree(paddleocr_model_dir, user_paddleocr_dir)
61
 
62
  json_url = 'https://github.com/opendatalab/MinerU/raw/master/mineru.template.json'
63
- config_file_name = 'mineru.json'
64
  home_dir = os.path.expanduser('~')
65
  config_file = os.path.join(home_dir, config_file_name)
66
 
 
60
  # shutil.copytree(paddleocr_model_dir, user_paddleocr_dir)
61
 
62
  json_url = 'https://github.com/opendatalab/MinerU/raw/master/mineru.template.json'
63
+ config_file_name = 'magic-pdf.json'
64
  home_dir = os.path.expanduser('~')
65
  config_file = os.path.join(home_dir, config_file_name)
66