Spaces:
Sleeping
Sleeping
Download ipython_start from educrpg/cardsq1pub: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/educrpg/cardsq1pub/resolve/main/ipython_start
- Command line
-
hf download hf://spaces/educrpg/cardsq1pub/ipython_start
-
curl -L -o ipython_start https://huggingface.co/spaces/educrpg/cardsq1pub/resolve/main/ipython_start
361 Bytes
| # This will run every time an IPython (or Jupyter) kernel starts | |
| def hello(): | |
| print("Right on baby jaybird! Hello from IPython startup!") | |
| from git import Repo | |
| import os | |
| if os.path.exists('./workstatml'): | |
| pass | |
| else: | |
| Repo.clone_from(os.environ['GIT_URL'],'./workstatml') | |
| def jello(): | |
| print("Right on baby raybird! Hello from IPython startup!") |