Spaces:
Runtime error
Runtime error
set default conf to 60
Browse files- .idea/workspace.xml +13 -7
- demo.py +1 -1
.idea/workspace.xml
CHANGED
|
@@ -4,12 +4,9 @@
|
|
| 4 |
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
-
<list default="true" id="d7806539-b6d6-42e7-bb45-1565f5d54891" name="Changes" comment="
|
| 8 |
-
<change afterPath="$PROJECT_DIR$/yolo_fire.py" afterDir="false" />
|
| 9 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 10 |
-
<change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
|
| 11 |
<change beforePath="$PROJECT_DIR$/demo.py" beforeDir="false" afterPath="$PROJECT_DIR$/demo.py" afterDir="false" />
|
| 12 |
-
<change beforePath="$PROJECT_DIR$/requirements.txt" beforeDir="false" afterPath="$PROJECT_DIR$/requirements.txt" afterDir="false" />
|
| 13 |
</list>
|
| 14 |
<option name="SHOW_DIALOG" value="false" />
|
| 15 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -126,7 +123,7 @@
|
|
| 126 |
<updated>1702301546100</updated>
|
| 127 |
<workItem from="1702301554378" duration="4025000" />
|
| 128 |
<workItem from="1702450051021" duration="10065000" />
|
| 129 |
-
<workItem from="1702476484538" duration="
|
| 130 |
</task>
|
| 131 |
<task id="LOCAL-00001" summary="init commit">
|
| 132 |
<option name="closed" value="true" />
|
|
@@ -176,7 +173,15 @@
|
|
| 176 |
<option name="project" value="LOCAL" />
|
| 177 |
<updated>1702454105421</updated>
|
| 178 |
</task>
|
| 179 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
<servers />
|
| 181 |
</component>
|
| 182 |
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -199,7 +204,8 @@
|
|
| 199 |
<MESSAGE value="remove cv2" />
|
| 200 |
<MESSAGE value="try to create /.cache folder" />
|
| 201 |
<MESSAGE value="try to grant user can access `/.cache` folder" />
|
| 202 |
-
<
|
|
|
|
| 203 |
</component>
|
| 204 |
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
| 205 |
<SUITE FILE_PATH="coverage/detector$demo.coverage" NAME="demo Coverage Results" MODIFIED="1702302380580" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
|
|
|
|
| 4 |
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
+
<list default="true" id="d7806539-b6d6-42e7-bb45-1565f5d54891" name="Changes" comment="yolo fire">
|
|
|
|
| 8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
|
|
| 9 |
<change beforePath="$PROJECT_DIR$/demo.py" beforeDir="false" afterPath="$PROJECT_DIR$/demo.py" afterDir="false" />
|
|
|
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
| 12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
|
| 123 |
<updated>1702301546100</updated>
|
| 124 |
<workItem from="1702301554378" duration="4025000" />
|
| 125 |
<workItem from="1702450051021" duration="10065000" />
|
| 126 |
+
<workItem from="1702476484538" duration="5262000" />
|
| 127 |
</task>
|
| 128 |
<task id="LOCAL-00001" summary="init commit">
|
| 129 |
<option name="closed" value="true" />
|
|
|
|
| 173 |
<option name="project" value="LOCAL" />
|
| 174 |
<updated>1702454105421</updated>
|
| 175 |
</task>
|
| 176 |
+
<task id="LOCAL-00007" summary="yolo fire">
|
| 177 |
+
<option name="closed" value="true" />
|
| 178 |
+
<created>1702481900196</created>
|
| 179 |
+
<option name="number" value="00007" />
|
| 180 |
+
<option name="presentableId" value="LOCAL-00007" />
|
| 181 |
+
<option name="project" value="LOCAL" />
|
| 182 |
+
<updated>1702481900196</updated>
|
| 183 |
+
</task>
|
| 184 |
+
<option name="localTasksCounter" value="8" />
|
| 185 |
<servers />
|
| 186 |
</component>
|
| 187 |
<component name="TypeScriptGeneratedFilesManager">
|
|
|
|
| 204 |
<MESSAGE value="remove cv2" />
|
| 205 |
<MESSAGE value="try to create /.cache folder" />
|
| 206 |
<MESSAGE value="try to grant user can access `/.cache` folder" />
|
| 207 |
+
<MESSAGE value="yolo fire" />
|
| 208 |
+
<option name="LAST_COMMIT_MESSAGE" value="yolo fire" />
|
| 209 |
</component>
|
| 210 |
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
| 211 |
<SUITE FILE_PATH="coverage/detector$demo.coverage" NAME="demo Coverage Results" MODIFIED="1702302380580" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
|
demo.py
CHANGED
|
@@ -20,7 +20,7 @@ def main():
|
|
| 20 |
# Object Detecting
|
| 21 |
with st.spinner('Wait for it...'):
|
| 22 |
# Slider for changing confidence
|
| 23 |
-
confidence = st.slider('Confidence Threshold', 0, 100,
|
| 24 |
|
| 25 |
# Calculating time for detection
|
| 26 |
t1 = time.time()
|
|
|
|
| 20 |
# Object Detecting
|
| 21 |
with st.spinner('Wait for it...'):
|
| 22 |
# Slider for changing confidence
|
| 23 |
+
confidence = st.slider('Confidence Threshold', 0, 100, 60)
|
| 24 |
|
| 25 |
# Calculating time for detection
|
| 26 |
t1 = time.time()
|