Spaces:
Runtime error
Runtime error
FROM python:3.9-slim-bullseye | |
RUN apt-get -y update && \ | |
apt-get install -y --no-install-recommends build-essential \ | |
curl wget nginx ca-certificates npm \ | |
&& npm install pm2 -g \ | |
&& pip install --upgrade pip setuptools \ | |
&& rm -rf /var/lib/apt/lists/* | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
RUN python -c "from transformers import pipeline; classifier = pipeline('zero-shot-classification', model='facebook/bart-large-mnli')" |