Spaces:
Sleeping
Sleeping
metadata
title: Everycure Ner Pdf
emoji: 🐢
colorFrom: indigo
colorTo: purple
sdk: docker
pinned: false
local dev
install dependencies:
uv venv
UV_PYTHON=3.12 uv pip install -r pyproject.toml
uv run src/everycure/app.py
if your pdfs are in a folder called pdfs/
run:
curl -v -X POST -F "file=@pdfs/MECFS systematic review.pdf" http://localhost:8000/api/v1/extract
to test remote (unfortunately quite slow):
curl -X POST -F "file=@pdfs/MECFS systematic review.pdf" https://lucharo-everycure-ner-pdf.hf.space/api/v1/extract
check API docs at https://lucharo-everycure-ner-pdf.hf.space/docs
run tests
uv pip install -e .[dev]
uv run pytest