Download src/app.py from DD009/THISverse: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/spaces/DD009/THISverse/resolve/main/src/app.py
- Command line
-
hf download hf://spaces/DD009/THISverse/src/app.py
-
curl -L -o app.py https://huggingface.co/spaces/DD009/THISverse/resolve/main/src/app.py
397 Bytes
| """ | |
| Hugging Face Spaces Entry Point | |
| This file is used when deploying to Hugging Face Spaces | |
| """ | |
| import sys | |
| from pathlib import Path | |
| # Add app directory to path | |
| sys.path.insert(0, str(Path(__file__).parent)) | |
| # Import and run Streamlit app | |
| from streamlit_app import * | |
| # Note: Hugging Face Spaces will automatically detect streamlit_app.py | |
| # But we can also use this as an entry point if needed | |