| # HF Runtime Fix Receipt 2 |
|
|
| ## Patch target |
| `HF_Substrate_Video_Atomization_Runtime_v0_1_PATCHED4.zip` |
|
|
| ## Error fixed |
| The Hugging Face Space passed the prior `HfFolder` dependency gate, then crashed while constructing the upload widget: |
|
|
| ```text |
| TypeError: Video.__init__() got an unexpected keyword argument 'type' |
| ``` |
|
|
| ## Fix applied |
| Removed the unsupported `type="filepath"` argument from the `gr.Video(...)` input component. |
|
|
| Gradio 4.44.x video uploads already provide a server-side filepath-like value to the callback, so the app logic can keep using `video_path` without changing the atomization route. |
|
|
| ## Boundary preserved |
| - No atomization logic was changed. |
| - No trace-capsule logic was changed. |
| - No HIR × OAM receipt logic was changed. |
| - This is a Gradio component API compatibility repair only. |
|
|
| ## Compatibility stack held |
| - `gradio==4.44.0` remains pinned. |
| - `huggingface_hub==0.25.2` remains pinned from the prior fix. |
| - `runtime.txt` remains `python-3.11`. |
|
|