myhloli commited on
Commit
ac89f00
·
verified ·
1 Parent(s): 6e02281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import re
10
  # os.system('pip install -U magic-pdf==0.8.1')
11
  os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
12
 
13
- os.system('wget https://github.com/opendatalab/MinerU/raw/master/docs/download_models_hf.py -O download_models_hf.py')
14
  os.system('python download_models_hf.py')
15
  os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
16
 
 
10
  # os.system('pip install -U magic-pdf==0.8.1')
11
  os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
12
 
13
+ os.system('wget https://github.com/opendatalab/MinerU/raw/dev/old_docs/download_models_hf.py -O download_models_hf.py')
14
  os.system('python download_models_hf.py')
15
  os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
16