Update app.py
Browse files
app.py
CHANGED
|
@@ -207,6 +207,13 @@ col3.subheader("Prediction")
|
|
| 207 |
col5.subheader("Decomposed")
|
| 208 |
col6.subheader("")
|
| 209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
with col1:
|
| 211 |
st.markdown("""<style>[data-baseweb="select"] {margin-top: -46px;}</style>""", unsafe_allow_html=True)
|
| 212 |
max_scale = int(data.shape[0] // 128)
|
|
@@ -216,12 +223,6 @@ with col1:
|
|
| 216 |
# Detect button
|
| 217 |
with col3: detect = st.button('Detect', key="detect")
|
| 218 |
|
| 219 |
-
# Threshold slider
|
| 220 |
-
with col4:
|
| 221 |
-
st.markdown("")
|
| 222 |
-
# st.markdown("""<style>[data-baseweb="select"] {margin-top: -36px;}</style>""", unsafe_allow_html=True)
|
| 223 |
-
threshold = st.slider("Threshold", 0.0, 1.0, 0.0, 0.05, key="threshold") #, label_visibility="hidden")
|
| 224 |
-
|
| 225 |
# Decompose button
|
| 226 |
with col5: decompose = st.button('Decompose', key="decompose")
|
| 227 |
|
|
|
|
| 207 |
col5.subheader("Decomposed")
|
| 208 |
col6.subheader("")
|
| 209 |
|
| 210 |
+
# Threshold slider
|
| 211 |
+
with col4:
|
| 212 |
+
st.markdown("")
|
| 213 |
+
# st.markdown("""<style>[data-baseweb="select"] {margin-top: -36px;}</style>""", unsafe_allow_html=True)
|
| 214 |
+
threshold = st.slider("Threshold", 0.0, 1.0, 0.0, 0.05, key="threshold") #, label_visibility="hidden")
|
| 215 |
+
|
| 216 |
+
# Scale selectbox
|
| 217 |
with col1:
|
| 218 |
st.markdown("""<style>[data-baseweb="select"] {margin-top: -46px;}</style>""", unsafe_allow_html=True)
|
| 219 |
max_scale = int(data.shape[0] // 128)
|
|
|
|
| 223 |
# Detect button
|
| 224 |
with col3: detect = st.button('Detect', key="detect")
|
| 225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
# Decompose button
|
| 227 |
with col5: decompose = st.button('Decompose', key="decompose")
|
| 228 |
|