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