Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,8 @@ import pymupdf
|
|
| 11 |
|
| 12 |
# os.system('pip install -U magic-pdf==0.10.5')
|
| 13 |
os.system('pip uninstall -y magic-pdf')
|
| 14 |
-
os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
|
|
|
|
| 15 |
|
| 16 |
os.system('wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py')
|
| 17 |
os.system('python download_models_hf.py')
|
|
|
|
| 11 |
|
| 12 |
# os.system('pip install -U magic-pdf==0.10.5')
|
| 13 |
os.system('pip uninstall -y magic-pdf')
|
| 14 |
+
# os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
|
| 15 |
+
os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
|
| 16 |
|
| 17 |
os.system('wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py')
|
| 18 |
os.system('python download_models_hf.py')
|