Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ os.system('pip uninstall -y magic-pdf')
|
|
| 15 |
os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
|
| 16 |
# os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
|
| 17 |
|
| 18 |
-
os.system('wget https://github.com/opendatalab/MinerU/raw/
|
| 19 |
os.system('python download_models_hf.py')
|
| 20 |
|
| 21 |
with open('/home/user/magic-pdf.json', 'r') as file:
|
|
|
|
| 15 |
os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
|
| 16 |
# os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
|
| 17 |
|
| 18 |
+
os.system('wget https://github.com/opendatalab/MinerU/raw/dev/scripts/download_models_hf.py -O download_models_hf.py')
|
| 19 |
os.system('python download_models_hf.py')
|
| 20 |
|
| 21 |
with open('/home/user/magic-pdf.json', 'r') as file:
|