Spaces:
Sleeping
Sleeping
Download quickfix.sh from rianders/pdfinspector: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/rianders/pdfinspector/resolve/main/quickfix.sh
- Command line
-
hf download hf://spaces/rianders/pdfinspector/quickfix.sh
-
curl -L -o quickfix.sh https://huggingface.co/spaces/rianders/pdfinspector/resolve/main/quickfix.sh
487 Bytes
| # 1) Remove the bad package | |
| uv remove fitz | |
| # 2) Make sure PyMuPDF is a direct dependency (optional but I recommend it) | |
| uv add PyMuPDF | |
| # 3) Re-lock and re-export for HF Spaces | |
| uv lock | |
| uv export --format requirements-txt --output-file requirements.txt | |
| # 4) Verify | |
| grep -iE '(^fitz==|^pymupdf==|^pymupdfb==|^pymupdf|^PyMuPDF==)' requirements.txt || true | |
| # 5) Commit + push | |
| git add pyproject.toml uv.lock requirements.txt | |
| git commit -m "Remove wrong fitz package; use PyMuPDF" | |
| git push | |