Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import re
|
|
| 10 |
# os.system('pip install -U magic-pdf==0.8.1')
|
| 11 |
os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
|
| 12 |
|
| 13 |
-
os.system('wget https://github.com/opendatalab/MinerU/raw/
|
| 14 |
os.system('python download_models_hf.py')
|
| 15 |
os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
|
| 16 |
|
|
|
|
| 10 |
# os.system('pip install -U magic-pdf==0.8.1')
|
| 11 |
os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
|
| 12 |
|
| 13 |
+
os.system('wget https://github.com/opendatalab/MinerU/raw/dev/old_docs/download_models_hf.py -O download_models_hf.py')
|
| 14 |
os.system('python download_models_hf.py')
|
| 15 |
os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
|
| 16 |
|