Download Dockerfile from TheMarvellousOne/NLP_Project_Meeting_Summarizer: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/TheMarvellousOne/NLP_Project_Meeting_Summarizer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TheMarvellousOne/NLP_Project_Meeting_Summarizer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TheMarvellousOne/NLP_Project_Meeting_Summarizer/resolve/main/Dockerfile
390 Bytes
| FROM python:3.11 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN python -c "from transformers import PegasusForConditionalGeneration; PegasusForConditionalGeneration.from_pretrained('TheMarvellousOne/pegasus-meeting-summarizer', subfolder='pegasus_mixed_finetuned')" | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] |