cfy / app.py
killvung's picture
Add ZeroGPU startup probe for Spaces without GPU inference.
17a7b10
Raw History Blame Contribute Delete
328 Bytes
"""Hugging Face Space entrypoint for the cat image review app."""
import spaces # ZeroGPU: must load before Gradio registers handlers
import gradio as gr
from app.app import create_app
from app.styles import CUSTOM_CSS
demo = create_app()
if __name__ == "__main__":
demo.launch(css=CUSTOM_CSS, theme=gr.themes.Soft())