"""Hugging Face Spaces entry point. Permanent deployment of the fall-detection-pose Gradio demo (Colab's share=True link expires after ~72h; this doesn't). The actual gr.Blocks definition lives in src/fall_detection/app/gradio_app.py — full source, evaluation protocol, and failure analysis at https://github.com/tun0000/fall-detection-pose. """ import os import sys _ROOT = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.join(_ROOT, "src")) from fall_detection.app.gradio_app import build_demo demo = build_demo(config_path=os.path.join(_ROOT, "config.yaml")) if __name__ == "__main__": demo.queue().launch()