Emmanuel Frimpong Asante
commited on
Commit
·
7286714
1
Parent(s):
f6521ea
update space
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
|
@@ -8,7 +8,7 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 8 |
|
| 9 |
# Set working directory
|
| 10 |
WORKDIR /app
|
| 11 |
-
|
| 12 |
# Copy and install dependencies
|
| 13 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
| 14 |
RUN pip install --no-cache-dir --upgrade pip \
|
|
|
|
| 8 |
|
| 9 |
# Set working directory
|
| 10 |
WORKDIR /app
|
| 11 |
+
RUN pip install opencv-python
|
| 12 |
# Copy and install dependencies
|
| 13 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
| 14 |
RUN pip install --no-cache-dir --upgrade pip \
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
fastapi
|
| 2 |
passlib[bcrypt]
|
| 3 |
pydantic[email]
|
|
@@ -12,4 +13,3 @@ numpy
|
|
| 12 |
pillow
|
| 13 |
tensorflow[and-cuda]~=2.9
|
| 14 |
huggingface_hub
|
| 15 |
-
opencv-python
|
|
|
|
| 1 |
+
opencv-python
|
| 2 |
fastapi
|
| 3 |
passlib[bcrypt]
|
| 4 |
pydantic[email]
|
|
|
|
| 13 |
pillow
|
| 14 |
tensorflow[and-cuda]~=2.9
|
| 15 |
huggingface_hub
|
|
|