Spaces:
Runtime error
Runtime error
Download src/st_deploy.py from Nixtla/transfer-learning-time-series: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/Nixtla/transfer-learning-time-series/resolve/main/src/st_deploy.py
- Command line
-
hf download hf://spaces/Nixtla/transfer-learning-time-series/src/st_deploy.py
-
curl -L -o st_deploy.py https://huggingface.co/spaces/Nixtla/transfer-learning-time-series/resolve/main/src/st_deploy.py
380 Bytes
| import os | |
| import sys | |
| from streamlit.web import cli | |
| if __name__ == "__main__": | |
| sys.argv = [ | |
| "streamlit", | |
| "run", | |
| f"{os.path.dirname(os.path.realpath(__file__))}/st_app.py", | |
| "--server.port=8501", | |
| "--server.address=0.0.0.0", | |
| "--server.baseUrlPath=transfer-learning", | |
| "--logger.level=debug", | |
| ] | |
| sys.exit(cli.main()) | |