Spaces:
Sleeping
Sleeping
{{Your Name}}
commited on
Commit
·
40a0299
1
Parent(s):
ae1a8bc
Update README for YOLO FastAPI demo
Browse files- Dockerfile +3 -0
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -5,11 +5,14 @@ FROM python:3.12-slim
|
|
| 5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
libglib2.0-0 \
|
| 7 |
build-essential \
|
|
|
|
| 8 |
cmake \
|
| 9 |
pkg-config \
|
| 10 |
libsm6 \
|
| 11 |
libxext6 \
|
| 12 |
libxrender1 \
|
|
|
|
|
|
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
# Set the working directory
|
|
|
|
| 5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
libglib2.0-0 \
|
| 7 |
build-essential \
|
| 8 |
+
ffmpeg \
|
| 9 |
cmake \
|
| 10 |
pkg-config \
|
| 11 |
libsm6 \
|
| 12 |
libxext6 \
|
| 13 |
libxrender1 \
|
| 14 |
+
libgl1-mesa-dev \
|
| 15 |
+
libglib2.0-0\
|
| 16 |
&& rm -rf /var/lib/apt/lists/*
|
| 17 |
|
| 18 |
# Set the working directory
|
requirements.txt
CHANGED
|
@@ -7,3 +7,4 @@ python-dotenv
|
|
| 7 |
onnxruntime
|
| 8 |
ultralytics
|
| 9 |
opencv-python-headless==4.10.0.84
|
|
|
|
|
|
| 7 |
onnxruntime
|
| 8 |
ultralytics
|
| 9 |
opencv-python-headless==4.10.0.84
|
| 10 |
+
python-multipart
|