Spaces:
Running on Zero
Running on Zero
Download app.py from LEMAS-Project/LEMAS-TTS: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/LEMAS-Project/LEMAS-TTS/resolve/main/app.py
- Command line
-
hf download hf://spaces/LEMAS-Project/LEMAS-TTS/app.py
-
curl -L -o app.py https://huggingface.co/spaces/LEMAS-Project/LEMAS-TTS/resolve/main/app.py
402 Bytes
| """ | |
| 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() | |