Commit History

Rename app.py to app_old.py
8a4f2d3
verified

IFMedTechdemo commited on

Fix: Remove @spaces.GPU decorator that causes import error - GPU already handled with CuPy fallback
16584f6
verified

IFMedTechdemo commited on

Add huggingface-hub to requirements for @spaces decorator support
5575141
verified

IFMedTechdemo commited on

Fix: Add @spaces.GPU decorator to resolve runtime GPU detection error
bddf73e
verified

IFMedTechdemo commited on

Update requirements.txt
6ee25c5
verified

IFMedTechdemo commited on

Fix: Change gr.Image(source=...) to gr.Image(sources=[...]) for Gradio compatibility Gradio uses sources parameter (plural, as a list) instead of source parameter for webcam input
37a853a
verified

IFMedTechdemo commited on

Rewrite app.py to use gr.Image(source='webcam') for HuggingFace Spaces - Replace manual cv2.VideoCapture with Gradio's native webcam component - Use streaming webcam input with real-time PPG processing - Maintain all signal processing: HR, HRV, SpO2 estimation - Clean ROI extraction and signal quality gating - Updated UI layout for better streaming experience
426399a
verified

IFMedTechdemo commited on

Update requirements.txt
9277064
verified

IFMedTechdemo commited on

Create requirements.txt
81b9f0c
verified

IFMedTechdemo commited on