Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -96,17 +96,17 @@ RUN python -c "from third_party.CSD import model; print('CSD model successfully
|
|
96 |
|
97 |
|
98 |
# Install LangSAM and its dependencies
|
99 |
-
RUN pip install --no-cache-dir
|
100 |
-
pip install --no-cache-dir segment-anything==1.0 && \
|
101 |
git clone https://github.com/luca-medeiros/lang-segment-anything && \
|
102 |
cd lang-segment-anything && \
|
103 |
pip install -e . && \
|
104 |
cd ..
|
105 |
|
106 |
-
#
|
107 |
-
RUN
|
108 |
-
|
109 |
-
|
|
|
110 |
|
111 |
# Upgrade pip and install Gradio
|
112 |
RUN python3 -m pip install --no-cache-dir gradio
|
|
|
96 |
|
97 |
|
98 |
# Install LangSAM and its dependencies
|
99 |
+
RUN pip install --no-cache-dir segment-anything==1.0 && \
|
|
|
100 |
git clone https://github.com/luca-medeiros/lang-segment-anything && \
|
101 |
cd lang-segment-anything && \
|
102 |
pip install -e . && \
|
103 |
cd ..
|
104 |
|
105 |
+
# Clone the GroundingDINO repository and install it
|
106 |
+
RUN git clone https://github.com/IDEA-Research/GroundingDINO.git && \
|
107 |
+
cd GroundingDINO && \
|
108 |
+
pip install -e . && \
|
109 |
+
cd ..
|
110 |
|
111 |
# Upgrade pip and install Gradio
|
112 |
RUN python3 -m pip install --no-cache-dir gradio
|