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