Download Streamlit from easynet/README: direct link, hf CLI and curl.
- Browser
- Download file 90 Bytes
-
https://huggingface.co/spaces/easynet/README/resolve/main/Streamlit
- Command line
-
hf download hf://spaces/easynet/README/Streamlit
-
curl -L -o Streamlit https://huggingface.co/spaces/easynet/README/resolve/main/Streamlit
90 Bytes
| import streamlit as st | |
| x = st.slider('Select a value') | |
| st.write(x, 'squared is', x * x) | |