Spaces:
Sleeping
Sleeping
File size: 520 Bytes
7589132 3f32a55 c66f90e 3f32a55 bf76511 3f32a55 0f8b222 3f32a55 0f8b222 8a7f63f c66f90e 4678472 bf27920 0eeb953 883b8b9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM nvcr.io/nvidia/pytorch:23.12-py3
# YOLOv8
RUN pip install ultralytics
RUN pip install opencv-python==4.6.0.66
RUN pip install Pillow==10.3.0
# FastAPI
RUN pip install fastapi uvicorn
# Streamlit
# RUN pip install streamlit
# Fonts
RUN apt update && apt install fonts-dejavu -y
# Download model weights
WORKDIR /app
RUN wget https://github.com/ultralytics/assets/releases/download/v8.2.0/yolov8l-pose.pt -O /app/yolov8l-pose.pt
COPY . /app
USER root
EXPOSE 7860
CMD uvicorn test:app --port 7860 --host 0.0.0.0 |