myhloli commited on
Commit
e6498d3
1 Parent(s): 51d4643

Update app.py

Browse files

update mfr to UniMERNet 0.2.x

Files changed (1) hide show
  1. app.py +2 -1
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