Spaces:
Sleeping
Sleeping
FROM nvcr.io/nvidia/pytorch:23.12-py3 | |
WORKDIR /code | |
RUN pip install ultralytics | |
RUN pip install opencv-python==4.6.0.66 | |
RUN pip install Pillow==10.3.0 | |
RUN pip install uvicorn fastapi | |
RUN pip install streamlit | |
RUN apt update && apt install fonts-dejavu -y | |
RUN wget https://github.com/ultralytics/assets/releases/download/v8.2.0/yolov8l-pose.pt | |
COPY . . | |
EXPOSE 8501 | |
CMD streamlit run app.py \ | |
--server.headless true \ | |
--server.enableCORS false \ | |
--server.enableXsrfProtection false \ | |
--server.fileWatcherType none | |