myhloli commited on
Commit
4a324fd
·
verified ·
1 Parent(s): 7b160c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ from loguru import logger
8
  if __name__ == '__main__':
9
  os.system('pip uninstall -y mineru')
10
  os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
11
- os.system('mineru-models-download -s huggingface -m vlm')
 
12
  try:
13
  with open('/home/user/mineru.json', 'r+') as file:
14
  config = json.load(file)
 
8
  if __name__ == '__main__':
9
  os.system('pip uninstall -y mineru')
10
  os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
11
+ os.system('pip install -U mineru-vl-utils')
12
+ os.system('mineru-models-download -s huggingface -m all')
13
  try:
14
  with open('/home/user/mineru.json', 'r+') as file:
15
  config = json.load(file)