Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import re
|
|
9 |
|
10 |
os.system('pip install -r requirements.txt')
|
11 |
os.system('pip install -U magic_pdf-0.8.0a1-py3-none-any.whl')
|
12 |
-
os.system('python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/')
|
13 |
|
14 |
from huggingface_hub import snapshot_download
|
15 |
model_dir = snapshot_download('opendatalab/PDF-Extract-Kit')
|
|
|
9 |
|
10 |
os.system('pip install -r requirements.txt')
|
11 |
os.system('pip install -U magic_pdf-0.8.0a1-py3-none-any.whl')
|
12 |
+
# os.system('python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/')
|
13 |
|
14 |
from huggingface_hub import snapshot_download
|
15 |
model_dir = snapshot_download('opendatalab/PDF-Extract-Kit')
|