Spaces:
Sleeping
Sleeping
pnorlander
Fix float16 dtype mismatch in TitleMatch + all matchers, remove .DS_Store, parallelize line-by-line
2a9e653 | # Rebuild trigger: 2026-04-15f (float32 cast for all embedding models + parallel line-by-line) | |
| FROM python:3.10-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| ENV TOKENIZERS_PARALLELISM=false | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN python -c "import nltk; nltk.download('punkt_tab'); nltk.download('punkt'); nltk.download('averaged_perceptron_tagger')" | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |