Download index.py from ServerX/test: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/ServerX/test/resolve/main/index.py
- Command line
-
hf download hf://ServerX/test/index.py
-
curl -L -o index.py https://huggingface.co/ServerX/test/resolve/main/index.py
551 Bytes
| #@title #Open the public URL | |
| tensorboard=True#@param {type:"boolean"} | |
| if not "installed" in locals(): | |
| from IPython.display import clear_output | |
| from ipywidgets import Button | |
| %cd /content | |
| !git clone https://github.com/luisesantillan/project | |
| !cd project && pip install -r requirements.txt && python download_files.py | |
| clear_output() | |
| Button(description="\u2714 Success", button_style='success') | |
| installed=True | |
| %cd /content/project | |
| if tensorboard: | |
| %load_ext tensorboard | |
| %tensorboard --logdir ./logs | |
| !python app.py --colab |