A newer version of the Gradio SDK is available: 6.20.0
HF Runtime Fix Receipt 3
Packet
HF_Substrate_Video_Atomization_Runtime_v0_1_PATCHED5
Error addressed
The Hugging Face Space started, then crashed while Gradio generated API metadata:
TypeError: argument of type 'bool' is not iterableValueError: When localhost is not accessible, a shareable link must be created.
Cause
The primary fault was a Gradio / gradio_client API-schema generation mismatch. Gradio attempted to convert a JSON schema fragment where additionalProperties was boolean. The gradio_client converter expected a dict-like schema and crashed.
The localhost/share error was downstream: because the root route failed during startup/API-info generation, Gradio concluded localhost was inaccessible.
Fix applied
- Added a narrow compatibility guard in
app.pythat maps boolean JSON-schema fragments toAnyduring Gradio API metadata conversion. - Changed launch call to bind explicitly for Hugging Face Spaces:
server_name="0.0.0.0"server_port=int(os.environ.get("PORT", "7860"))show_error=True
- Updated Gradio pin from
4.44.0to4.44.1while preservinghuggingface_hub==0.25.2to keep the previousHfFolderfix settled. - Removed transient
__pycache__from the release packet.
Boundary
No atomization logic, HIR/OAM receipt logic, frame sampling, hashing, OpenCV processing, trace-stack construction, or packet generation logic was changed.