Plsek commited on
Commit
4b5bf81
·
1 Parent(s): 912c05f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -172,7 +172,7 @@ if uploaded_file is not None:
172
  col6.subheader("")
173
 
174
  with col1:
175
- st.markdown("""<style>[data-baseweb="select"] {margin-top: -26px;}</style>""", unsafe_allow_html=True)
176
  # st.markdown("<style>{margin-top: -56px;}</style>", unsafe_allow_html=True)
177
  max_scale = int(data.shape[0] // 128)
178
  scale = st.selectbox('Scale:',[f"{(i+1)*128}x{(i+1)*128}" for i in range(max_scale)], label_visibility="hidden")
@@ -186,9 +186,6 @@ if uploaded_file is not None:
186
  st.markdown("")
187
  # st.markdown("""<style>[data-baseweb="select"] {margin-top: -36px;}</style>""", unsafe_allow_html=True)
188
  threshold = st.slider("Threshold", 0.0, 1.0, 0.0, 0.05) #, label_visibility="hidden")
189
-
190
- if scale != default_scale:
191
- threshold = default_threshold
192
 
193
  # Decompose button
194
  with col5: decompose = st.button('Decompose', key="decompose")
 
172
  col6.subheader("")
173
 
174
  with col1:
175
+ st.markdown("""<style>[data-baseweb="select"] {margin-top: -36px;}</style>""", unsafe_allow_html=True)
176
  # st.markdown("<style>{margin-top: -56px;}</style>", unsafe_allow_html=True)
177
  max_scale = int(data.shape[0] // 128)
178
  scale = st.selectbox('Scale:',[f"{(i+1)*128}x{(i+1)*128}" for i in range(max_scale)], label_visibility="hidden")
 
186
  st.markdown("")
187
  # st.markdown("""<style>[data-baseweb="select"] {margin-top: -36px;}</style>""", unsafe_allow_html=True)
188
  threshold = st.slider("Threshold", 0.0, 1.0, 0.0, 0.05) #, label_visibility="hidden")
 
 
 
189
 
190
  # Decompose button
191
  with col5: decompose = st.button('Decompose', key="decompose")