Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse filesupdate mfr to UniMERNet 0.2.x
app.py
CHANGED
@@ -8,7 +8,8 @@ from pathlib import Path
|
|
8 |
import re
|
9 |
|
10 |
# os.system('pip install -r requirements.txt')
|
11 |
-
os.system('pip install -U magic-pdf==0.8.1')
|
|
|
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
|
|
|
8 |
import re
|
9 |
|
10 |
# os.system('pip install -r requirements.txt')
|
11 |
+
# os.system('pip install -U magic-pdf==0.8.1')
|
12 |
+
os.system('pip install -U magic_pdf-0.9.0a1-py3-none-any.whl')
|
13 |
# os.system('python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/')
|
14 |
|
15 |
from huggingface_hub import snapshot_download
|