Spaces:
Runtime error
Runtime error
Download app.py from alexbleakley/streamlit-hello-world: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/spaces/alexbleakley/streamlit-hello-world/resolve/main/app.py
- Command line
-
hf download hf://spaces/alexbleakley/streamlit-hello-world/app.py
-
curl -L -o app.py https://huggingface.co/spaces/alexbleakley/streamlit-hello-world/resolve/main/app.py
178 Bytes
| import streamlit as st | |
| st.title = "Greeter" | |
| def greet(name): | |
| return "Hello " + name + "!" | |
| name = st.text_input("What's your name?") | |
| if name: | |
| st.write(greet(name)) | |