myhloli commited on
Commit
6d8c99f
1 Parent(s): 0a681f9

Update app.py

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