Spaces:
Sleeping
Sleeping
github-actions[bot]
commited on
Commit
Β·
7b1b105
1
Parent(s):
2f0a635
π¦ Automated Warehousing Security Bag Count deployment from GitHub Actions
Browse files
=0.1.4
CHANGED
|
@@ -23,9 +23,9 @@ Requirement already satisfied: sniffio>=1.1 in /opt/hostedtoolcache/Python/3.11.
|
|
| 23 |
Requirement already satisfied: click>=8.0.0 in /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages (from typer-slim->huggingface-hub>=0.30) (8.3.1)
|
| 24 |
Downloading huggingface_hub-1.1.4-py3-none-any.whl (515 kB)
|
| 25 |
Downloading hf_xet-1.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
|
| 26 |
-
ββββββββββββββββββββββββββββββββββββββββ 3.3/3.3 MB
|
| 27 |
Downloading hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
|
| 28 |
-
ββββββββββββββββββββββββββββββββββββββββ 3.6/3.6 MB
|
| 29 |
Downloading typer_slim-0.20.0-py3-none-any.whl (47 kB)
|
| 30 |
Installing collected packages: typer-slim, hf-xet, hf-transfer, huggingface-hub
|
| 31 |
Attempting uninstall: huggingface-hub
|
|
|
|
| 23 |
Requirement already satisfied: click>=8.0.0 in /opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages (from typer-slim->huggingface-hub>=0.30) (8.3.1)
|
| 24 |
Downloading huggingface_hub-1.1.4-py3-none-any.whl (515 kB)
|
| 25 |
Downloading hf_xet-1.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
|
| 26 |
+
ββββββββββββββββββββββββββββββββββββββββ 3.3/3.3 MB 218.1 MB/s 0:00:00
|
| 27 |
Downloading hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
|
| 28 |
+
ββββββββββββββββββββββββββββββββββββββββ 3.6/3.6 MB 319.0 MB/s 0:00:00
|
| 29 |
Downloading typer_slim-0.20.0-py3-none-any.whl (47 kB)
|
| 30 |
Installing collected packages: typer-slim, hf-xet, hf-transfer, huggingface-hub
|
| 31 |
Attempting uninstall: huggingface-hub
|
app.py
CHANGED
|
@@ -94,9 +94,8 @@ def detect_video(video_path, show_bg, use_roi, show_box, progress=gr.Progress())
|
|
| 94 |
|
| 95 |
out.write(frame)
|
| 96 |
frame_count += 1
|
| 97 |
-
if
|
| 98 |
-
|
| 99 |
-
desc=f"Processing frame {frame_count}/{total_frames} - Boxes: {frame_box_count}")
|
| 100 |
|
| 101 |
cap.release()
|
| 102 |
out.release()
|
|
|
|
| 94 |
|
| 95 |
out.write(frame)
|
| 96 |
frame_count += 1
|
| 97 |
+
progress((frame_count / total_frames) if total_frames > 0 else 0,
|
| 98 |
+
desc=f"Processing frame {frame_count}/{total_frames} - Boxes: {frame_box_count}")
|
|
|
|
| 99 |
|
| 100 |
cap.release()
|
| 101 |
out.release()
|