"""Hugging Face Gradio entrypoint; no GPU reservation or paid hardware required.""" import os import spaces import uvicorn from rubric_app.gradio_host import create_space_app @spaces.GPU def zero_gpu_compatibility_marker(): """Declared for ZeroGPU platform validation; never called by this API-only app.""" return "unused" if __name__ == "__main__": if spaces.config.Config.zero_gpu: spaces.zero.startup() uvicorn.run( create_space_app(), host="0.0.0.0", port=int(os.environ.get("PORT", "7860")), proxy_headers=False, access_log=False, )