Abhinav Gavireddi
commited on
Commit
·
8df2968
1
Parent(s):
391f4fe
[fix]: fixed pdf parsing
Browse files- src/ghm.py +2 -2
src/ghm.py
CHANGED
@@ -59,8 +59,8 @@ def initialize_models():
|
|
59 |
# shutil.rmtree(user_paddleocr_dir)
|
60 |
# shutil.copytree(paddleocr_model_dir, user_paddleocr_dir)
|
61 |
|
62 |
-
json_url = 'https://github.com/opendatalab/MinerU/raw/master/
|
63 |
-
config_file_name = '
|
64 |
home_dir = os.path.expanduser('~')
|
65 |
config_file = os.path.join(home_dir, config_file_name)
|
66 |
|
|
|
59 |
# shutil.rmtree(user_paddleocr_dir)
|
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 |
|