File size: 977 Bytes
d6c5708 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # 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`.
|