Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files- README.md +7 -3
- requirements.txt +6 -2
README.md
CHANGED
|
@@ -1,11 +1,10 @@
|
|
| 1 |
---
|
| 2 |
title: SceneSolver
|
| 3 |
-
emoji: 🕵️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: "4.44.0"
|
| 8 |
-
python_version: "3.
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
short_description: Nine-stage forensic video analysis agent (SceneSolver)
|
|
@@ -25,6 +24,11 @@ Model assets: `samxkevin/scenesolver-assets` (pipeline weights) and
|
|
| 25 |
|
| 26 |
## Running on ZeroGPU — before you deploy
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
- **Creating** a ZeroGPU Space requires a Hugging Face **PRO** personal account
|
| 29 |
or a Team/Enterprise organization. (Anyone can *use* a public ZeroGPU Space
|
| 30 |
for free once it exists — the PRO/Enterprise requirement is only for the
|
|
@@ -48,4 +52,4 @@ Model assets: `samxkevin/scenesolver-assets` (pipeline weights) and
|
|
| 48 |
|
| 49 |
The uploaded source notebook contained a hardcoded, live Cohere API key. It
|
| 50 |
has been removed from this port. **That key should be rotated in the Cohere
|
| 51 |
-
dashboard**, since it was exposed in plaintext in the original file.
|
|
|
|
| 1 |
---
|
| 2 |
title: SceneSolver
|
|
|
|
| 3 |
colorFrom: gray
|
| 4 |
colorTo: red
|
| 5 |
sdk: gradio
|
| 6 |
sdk_version: "4.44.0"
|
| 7 |
+
python_version: "3.12"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
short_description: Nine-stage forensic video analysis agent (SceneSolver)
|
|
|
|
| 24 |
|
| 25 |
## Running on ZeroGPU — before you deploy
|
| 26 |
|
| 27 |
+
- **`python_version` must stay at 3.12** (not 3.10). `liquid-audio` (used by the
|
| 28 |
+
Sherl0ck voice agent) requires Python >=3.12, and 3.12.12 is one of the two
|
| 29 |
+
Python runtimes ZeroGPU currently supports — the earlier build failure
|
| 30 |
+
("No matching distribution found for liquid-audio") was caused by this
|
| 31 |
+
being pinned to 3.10.
|
| 32 |
- **Creating** a ZeroGPU Space requires a Hugging Face **PRO** personal account
|
| 33 |
or a Team/Enterprise organization. (Anyone can *use* a public ZeroGPU Space
|
| 34 |
for free once it exists — the PRO/Enterprise requirement is only for the
|
|
|
|
| 52 |
|
| 53 |
The uploaded source notebook contained a hardcoded, live Cohere API key. It
|
| 54 |
has been removed from this port. **That key should be rotated in the Cohere
|
| 55 |
+
dashboard**, since it was exposed in plaintext in the original file.
|
requirements.txt
CHANGED
|
@@ -4,6 +4,10 @@
|
|
| 4 |
# ZeroGPU CUDA build before first deploy — see
|
| 5 |
# https://huggingface.co/docs/hub/spaces-zerogpu (the backing GPU/CUDA image
|
| 6 |
# changes over time, and torch must match the wheel it was built against).
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
spaces
|
| 9 |
gradio>=4.44.0
|
|
@@ -11,7 +15,7 @@ gradio>=4.44.0
|
|
| 11 |
torch>=2.1.0
|
| 12 |
torchvision>=0.16.0
|
| 13 |
|
| 14 |
-
transformers>=4.40.0
|
| 15 |
huggingface_hub>=0.23.0
|
| 16 |
|
| 17 |
opencv-python-headless
|
|
@@ -32,4 +36,4 @@ soundfile
|
|
| 32 |
cohere>=5.0.0
|
| 33 |
liquid-audio
|
| 34 |
|
| 35 |
-
requests
|
|
|
|
| 4 |
# ZeroGPU CUDA build before first deploy — see
|
| 5 |
# https://huggingface.co/docs/hub/spaces-zerogpu (the backing GPU/CUDA image
|
| 6 |
# changes over time, and torch must match the wheel it was built against).
|
| 7 |
+
# transformers is capped below 5.0 — a build attempt resolved 5.16.1, a major
|
| 8 |
+
# version the notebook's Stage 1/2/8 code (torch_dtype kwarg,
|
| 9 |
+
# LlavaForConditionalGeneration, VideoMAEImageProcessor) was not written
|
| 10 |
+
# against or verified against.
|
| 11 |
|
| 12 |
spaces
|
| 13 |
gradio>=4.44.0
|
|
|
|
| 15 |
torch>=2.1.0
|
| 16 |
torchvision>=0.16.0
|
| 17 |
|
| 18 |
+
transformers>=4.40.0,<5.0.0
|
| 19 |
huggingface_hub>=0.23.0
|
| 20 |
|
| 21 |
opencv-python-headless
|
|
|
|
| 36 |
cohere>=5.0.0
|
| 37 |
liquid-audio
|
| 38 |
|
| 39 |
+
requests
|