Spaces:
Running
on
Zero
Running
on
Zero
File size: 402 Bytes
34fb334 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
"""
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()
|