Spaces:
Running
on
Zero
Running
on
Zero
| """ | |
| Gradio entrypoint for Hugging Face Spaces. | |
| This file simply re-exports the `app` Blocks defined in `inference_gradio.py` | |
| so that Spaces can discover and launch it. | |
| """ | |
| import gradio as gr # noqa: F401 | |
| from inference_gradio import app as _app | |
| # Expose as both `app` and `demo` for maximum compatibility | |
| app = _app | |
| demo = _app | |
| if __name__ == "__main__": | |
| app.queue(api_open=True).launch() | |