Spaces:
Runtime error
Runtime error
File size: 307 Bytes
1d2796b 806ab2d 1d2796b |
1 2 3 4 5 6 7 8 9 10 11 12 |
FROM pytorch/pytorch:2.1.0-cuda12.1-cudnn8-runtime
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir fastapi uvicorn[standard] pydantic "transformers==4.35.2" tweepy numpy
COPY . /app
ENV PORT 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |