| # HF Runtime Fix Receipt 4 |
|
|
| ## Packet |
| HF_Substrate_Video_Atomization_Runtime_v0_1_PATCHED6 |
| |
| ## Error addressed |
| The Hugging Face build failed before container startup because the Space metadata requested one Gradio version while `requirements.txt` requested another: |
| |
| ```text |
| The user requested gradio==4.44.0 |
| The user requested gradio==4.44.1 |
| ResolutionImpossible |
| ``` |
| |
| ## Cause |
| Hugging Face Spaces reads `sdk_version` from the README front matter and injects `gradio[oauth]==<sdk_version>` into the build command. The prior packet changed `requirements.txt` to `gradio==4.44.1` but left README metadata at `sdk_version: 4.44.0`, creating a hard resolver conflict. |
| |
| ## Fix applied |
| 1. Updated README Space metadata from `sdk_version: 4.44.0` to `sdk_version: 4.44.1`. |
| 2. Kept `requirements.txt` at `gradio==4.44.1` so the SDK metadata and dependency file now agree. |
| 3. Replaced the final bare `demo.launch()` with explicit Hugging Face binding: |
| |
| ```python |
| demo.launch( |
| server_name="0.0.0.0", |
| server_port=int(os.environ.get("PORT", "7860")), |
| show_error=True, |
| ) |
| ``` |
| |
| ## Boundary |
| No atomization logic, hashing logic, frame sampling, scene detection, trace-stack construction, HIR/OAM receipt generation, or packet-generation logic was changed. |
|
|