Spaces:
Runtime error
Runtime error
vodkaslime
commited on
fix button
Browse files
app.py
CHANGED
@@ -3,6 +3,6 @@ import streamlit as st
|
|
3 |
x = st.slider("Select a value")
|
4 |
st.write(x, "squared is", x * x)
|
5 |
|
6 |
-
b = st.button()
|
7 |
if b:
|
8 |
st.write("button clicked")
|
|
|
3 |
x = st.slider("Select a value")
|
4 |
st.write(x, "squared is", x * x)
|
5 |
|
6 |
+
b = st.button("Button")
|
7 |
if b:
|
8 |
st.write("button clicked")
|