Download gradio_app.py from nhosseini/sentiment_analysis_with_reason: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/spaces/nhosseini/sentiment_analysis_with_reason/resolve/main/gradio_app.py
- Command line
-
hf download hf://spaces/nhosseini/sentiment_analysis_with_reason/gradio_app.py
-
curl -L -o gradio_app.py https://huggingface.co/spaces/nhosseini/sentiment_analysis_with_reason/resolve/main/gradio_app.py
187 Bytes
| from app import main_interface | |
| # This will launch the Gradio app by calling the `main_interface` function | |
| demo = main_interface() | |
| if __name__ == "__main__": | |
| demo.launch(share=True) | |