myhloli commited on
Commit
ee83cdd
·
1 Parent(s): d0a5685

tablemaster to rapid_table

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
15
  os.system('wget https://github.com/opendatalab/MinerU/raw/master/scripts/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
- os.system("sed -i 's|tablemaster|rapid_table|g' /root/magic-pdf.json")
19
 
20
  os.system('cp -r paddleocr /home/user/.paddleocr')
21
 
 
15
  os.system('wget https://github.com/opendatalab/MinerU/raw/master/scripts/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
+ os.system("sed -i 's|tablemaster|rapid_table|g' /home/user/magic-pdf.json")
19
 
20
  os.system('cp -r paddleocr /home/user/.paddleocr')
21