Spaces:
Runtime error
Runtime error
Kangarroar
commited on
Commit
·
14ded6f
1
Parent(s):
12f35c3
Update app.py
Browse files
app.py
CHANGED
@@ -1,20 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
-
import streamlit as st
|
4 |
-
import streamlit as st
|
5 |
-
|
6 |
-
with st.form("my_form"):
|
7 |
-
st.write("Inside the form")
|
8 |
-
slider_val = st.slider("Form slider")
|
9 |
-
checkbox_val = st.checkbox("Form checkbox")
|
10 |
-
|
11 |
-
# Every form must have a submit button.
|
12 |
-
submitted = st.form_submit_button("Submit")
|
13 |
-
if submitted:
|
14 |
-
st.write("slider", slider_val, "checkbox", checkbox_val)
|
15 |
-
|
16 |
-
st.write("Outside the form")
|
17 |
-
# First row
|
18 |
col1, col2 = st.columns(2)
|
19 |
col1.title('DIFF-SVC Render')
|
20 |
col2.title('Settings')
|
|
|
1 |
import streamlit as st
|
2 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
col1, col2 = st.columns(2)
|
4 |
col1.title('DIFF-SVC Render')
|
5 |
col2.title('Settings')
|