Spaces:
Sleeping
Sleeping
Commit
·
c473268
1
Parent(s):
fcf22f8
Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,19 @@ def main():
|
|
69 |
with sidebar:
|
70 |
st.title(":blue[Turing]Videos")
|
71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
main()
|
73 |
|
74 |
'''
|
|
|
69 |
with sidebar:
|
70 |
st.title(":blue[Turing]Videos")
|
71 |
|
72 |
+
with st.form("data_collection"):
|
73 |
+
compression_rate = st.slider("Selecione a taxa de compressão:",
|
74 |
+
min_value=0.1, max_value=0.9,
|
75 |
+
value=0.2, step=0.05
|
76 |
+
)
|
77 |
+
|
78 |
+
# Every form must have a submit button.
|
79 |
+
submitted = st.form_submit_button("Submit")
|
80 |
+
if submitted:
|
81 |
+
st.success('Dados coletados!', icon="✅")
|
82 |
+
else:
|
83 |
+
st.error('Dados ainda não coletados!', icon="🚨")
|
84 |
+
|
85 |
main()
|
86 |
|
87 |
'''
|