|
Download Docs.md from pro9code/Streamlit: direct link, hf CLI and curl.
- Browser
- Download file 953 Bytes
-
https://huggingface.co/spaces/pro9code/Streamlit/resolve/main/Docs.md
- Command line
-
hf download hf://spaces/pro9code/Streamlit/Docs.md
-
curl -L -o Docs.md https://huggingface.co/spaces/pro9code/Streamlit/resolve/main/Docs.md
953 Bytes
| 🚀 Get started with your streamlit Space! | |
| Your new space has been created, follow these steps to get started (or read our full documentation ) | |
| Start by cloning this repo by using: | |
| git clone https://huggingface.co/spaces/Sorghumgrass/Streamlit | |
| Create your Streamlit app.py file: | |
| import streamlit as st | |
| x = st.slider('Select a value') | |
| st.write(x, 'squared is', x * x) | |
| Then commit and push: | |
| git add app.py git commit -m "Add application file" git push | |
| (Hint: Create the app.py file right in your browser alternatively) | |
| 🤗 Your app should be running on this page after a few moments ! | |
| Dependencies | |
| You can add a requirements.txt file at the root of the repository to specify Python dependencies | |
| If needed, you can add also add a packages.txt file at the root of the repository to specify Debian dependencies. | |
| The streamlit package comes pre-installed at version 1.17.0 | |
| Documentation | |
| Check out the full documentation of streamlit Spaces here |