Spaces:
Runtime error
Runtime error
update import detectron2
Browse files- Dockerfile +2 -0
- requirements.txt +0 -1
Dockerfile
CHANGED
@@ -12,6 +12,8 @@ WORKDIR /app
|
|
12 |
# Copy Python dependencies and install them
|
13 |
COPY --chown=user ./requirements.txt requirements.txt
|
14 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
|
15 |
|
16 |
# Copy application files
|
17 |
COPY --chown=user . /app
|
|
|
12 |
# Copy Python dependencies and install them
|
13 |
COPY --chown=user ./requirements.txt requirements.txt
|
14 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
15 |
+
RUN pip install 'git+https://github.com/facebookresearch/detectron2.git'
|
16 |
+
|
17 |
|
18 |
# Copy application files
|
19 |
COPY --chown=user . /app
|
requirements.txt
CHANGED
@@ -13,4 +13,3 @@ Pillow
|
|
13 |
gradio # Or streamlit, if using Streamlit
|
14 |
opencv-python
|
15 |
uvicorn
|
16 |
-
git+https://github.com/facebookresearch/detectron2.git
|
|
|
13 |
gradio # Or streamlit, if using Streamlit
|
14 |
opencv-python
|
15 |
uvicorn
|
|