tablemaster to rapid_table
Browse files
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' /
|
| 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 |
|