reproduce / app.py
attilasimko's picture
new changes
1c31e5e
raw
history blame
558 Bytes
import streamlit as st
repo_link = st.text_input("Github repository link:", value="", type="default", help=None, on_change=None)
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
with st.form("my_form"):
st.write("Notice something wrong? Please tell us so we can improve.")
feedback = st.text_input("Feedback", value="")
# Every form must have a submit button.
submitted = st.form_submit_button("Submit feedback")
if submitted:
st.write("repository", repo_link, "feedback", feedback)
st.write("Outside the form")