# The Gradio Space stays light: heavy models (torch/transformers/voxcpm) run on # Modal, not here. The Space only needs the UI, audio analysis, and the Modal # client used to call the deployed app. # gradio 5.x: matches the modern Space base image (Python 3.13, current pydantic # + huggingface_hub). gradio 4.x crashed there — its oauth imported the removed # HfFolder, and its bundled gradio_client choked on boolean JSON-schema nodes. gradio==5.50.0 numpy>=1.26 librosa>=0.10 # delivery-stance analysis (CPU) soundfile>=0.12 # audio io for librosa modal>=0.64 # client-side lookup of the deployed GPU app (modal mode)