myhloli commited on
Commit
9d59b27
·
verified ·
1 Parent(s): 3a68729

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,7 +9,8 @@ if __name__ == '__main__':
9
  os.system('pip uninstall -y mineru')
10
  os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
11
  os.system('pip install -U mineru-vl-utils')
12
- os.system('mineru-models-download -s huggingface -m all')
 
13
  try:
14
  with open('/home/user/mineru.json', 'r+') as file:
15
  config = json.load(file)
 
9
  os.system('pip uninstall -y mineru')
10
  os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
11
  os.system('pip install -U mineru-vl-utils')
12
+ # os.system('mineru-models-download -s huggingface -m all')
13
+ os.system('mineru-models-download -s modelscope -m all')
14
  try:
15
  with open('/home/user/mineru.json', 'r+') as file:
16
  config = json.load(file)