princhman commited on
Commit
1066474
·
1 Parent(s): 0a323e6

system update

Browse files
__pycache__/inference_svm_model.cpython-310.pyc ADDED
Binary file (960 Bytes). View file
 
__pycache__/mineru_single.cpython-310.pyc ADDED
Binary file (4.24 kB). View file
 
__pycache__/worker.cpython-310.pyc ADDED
Binary file (4.85 kB). View file
 
app.py CHANGED
@@ -56,11 +56,6 @@ async def process_pdf(
56
  }
57
 
58
  if __name__ == "__main__":
59
- os.system('pip uninstall -y magic-pdf')
60
- os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
61
- # os.system('pip install git+https://github.com/myhloli/Magic-PDF.git@dev')
62
-
63
- os.system('wget https://github.com/opendatalab/MinerU/raw/dev/scripts/download_models_hf.py -O download_models_hf.py')
64
  os.system('python download_models_hf.py')
65
  rabbit_worker()
66
  uvicorn.run(app, host="0.0.0.0", port=8000)
 
56
  }
57
 
58
  if __name__ == "__main__":
 
 
 
 
 
59
  os.system('python download_models_hf.py')
60
  rabbit_worker()
61
  uvicorn.run(app, host="0.0.0.0", port=8000)