Spaces:
Runtime error
Runtime error
clean requirements.txt
Browse files- .idea/workspace.xml +10 -2
- Dockerfile +2 -1
- requirements.txt +1 -2
.idea/workspace.xml
CHANGED
@@ -124,7 +124,7 @@
|
|
124 |
<updated>1702301546100</updated>
|
125 |
<workItem from="1702301554378" duration="4025000" />
|
126 |
<workItem from="1702450051021" duration="10065000" />
|
127 |
-
<workItem from="1702476484538" duration="
|
128 |
</task>
|
129 |
<task id="LOCAL-00001" summary="init commit">
|
130 |
<option name="closed" value="true" />
|
@@ -214,7 +214,15 @@
|
|
214 |
<option name="project" value="LOCAL" />
|
215 |
<updated>1702482463491</updated>
|
216 |
</task>
|
217 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
<servers />
|
219 |
</component>
|
220 |
<component name="TypeScriptGeneratedFilesManager">
|
|
|
124 |
<updated>1702301546100</updated>
|
125 |
<workItem from="1702301554378" duration="4025000" />
|
126 |
<workItem from="1702450051021" duration="10065000" />
|
127 |
+
<workItem from="1702476484538" duration="7523000" />
|
128 |
</task>
|
129 |
<task id="LOCAL-00001" summary="init commit">
|
130 |
<option name="closed" value="true" />
|
|
|
214 |
<option name="project" value="LOCAL" />
|
215 |
<updated>1702482463491</updated>
|
216 |
</task>
|
217 |
+
<task id="LOCAL-00012" summary="clean requirements.txt">
|
218 |
+
<option name="closed" value="true" />
|
219 |
+
<created>1702483217316</created>
|
220 |
+
<option name="number" value="00012" />
|
221 |
+
<option name="presentableId" value="LOCAL-00012" />
|
222 |
+
<option name="project" value="LOCAL" />
|
223 |
+
<updated>1702483217316</updated>
|
224 |
+
</task>
|
225 |
+
<option name="localTasksCounter" value="13" />
|
226 |
<servers />
|
227 |
</component>
|
228 |
<component name="TypeScriptGeneratedFilesManager">
|
Dockerfile
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
FROM python:3.11-bookworm
|
|
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
# Set home to the user's home directory
|
@@ -11,5 +12,5 @@ RUN mkdir $HOME/.cache
|
|
11 |
RUN chown -R user $HOME/.cache
|
12 |
|
13 |
RUN pip install -r requirements.txt
|
14 |
-
RUN python yolo_fire.py
|
15 |
ENTRYPOINT ["streamlit", "run", "demo.py"]
|
|
|
1 |
FROM python:3.11-bookworm
|
2 |
+
ARG HF_TOKEN
|
3 |
RUN useradd -m -u 1000 user
|
4 |
USER user
|
5 |
# Set home to the user's home directory
|
|
|
12 |
RUN chown -R user $HOME/.cache
|
13 |
|
14 |
RUN pip install -r requirements.txt
|
15 |
+
RUN HF_TOKEN=$HF_TOKEN python yolo_fire.py
|
16 |
ENTRYPOINT ["streamlit", "run", "demo.py"]
|
requirements.txt
CHANGED
@@ -35,7 +35,7 @@ mdurl==0.1.2
|
|
35 |
mpmath==1.3.0
|
36 |
networkx==3.2.1
|
37 |
numpy==1.26.2
|
38 |
-
opencv-python==4.8
|
39 |
packaging==23.2
|
40 |
pandas==2.1.4
|
41 |
Pillow==10.1.0
|
@@ -59,7 +59,6 @@ requests==2.31.0
|
|
59 |
requests-toolbelt==1.0.0
|
60 |
rich==13.7.0
|
61 |
rpds-py==0.13.2
|
62 |
-
sahi==0.11.15
|
63 |
scipy==1.11.4
|
64 |
seaborn==0.13.0
|
65 |
shapely==2.0.2
|
|
|
35 |
mpmath==1.3.0
|
36 |
networkx==3.2.1
|
37 |
numpy==1.26.2
|
38 |
+
opencv-contrib-python-headless==4.8.*
|
39 |
packaging==23.2
|
40 |
pandas==2.1.4
|
41 |
Pillow==10.1.0
|
|
|
59 |
requests-toolbelt==1.0.0
|
60 |
rich==13.7.0
|
61 |
rpds-py==0.13.2
|
|
|
62 |
scipy==1.11.4
|
63 |
seaborn==0.13.0
|
64 |
shapely==2.0.2
|