env.sh 309 B

12345678
  1. conda create -n MinerU python=3.10
  2. conda activate MinerU
  3. pip install magic-pdf
  4. pip install magic-pdf[full-cpu]
  5. pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/
  6. git lfs install
  7. git lfs clone https://huggingface.co/wanderkid/PDF-Extract-Kit
  8. #cp magic-pdf.template.json ~/magic-pdf.json