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