Plsek commited on
Commit
912c05f
·
1 Parent(s): 17c52a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -157,9 +157,6 @@ with col_1:
157
 
158
  with col_2:
159
  example = st.button("Example")
160
-
161
- default_scale = 1
162
- default_threshold = 0
163
 
164
  # If file is uploaded, read in the data and plot it
165
  if uploaded_file is not None:
@@ -175,9 +172,8 @@ if uploaded_file is not None:
175
  col6.subheader("")
176
 
177
  with col1:
178
- # st.markdown("""<style>[data-baseweb="select"] {margin-top: -26px;}</style>""", unsafe_allow_html=True)
179
- # st.markdown("<style>{margin-top: -26px;}</style>", unsafe_allow_html=True)
180
- st.markdown("<br style='margin:-44px 0'>", unsafe_allow_html=True)
181
  max_scale = int(data.shape[0] // 128)
182
  scale = st.selectbox('Scale:',[f"{(i+1)*128}x{(i+1)*128}" for i in range(max_scale)], label_visibility="hidden")
183
  scale = int(scale.split("x")[0]) // 128
 
157
 
158
  with col_2:
159
  example = st.button("Example")
 
 
 
160
 
161
  # If file is uploaded, read in the data and plot it
162
  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")
179
  scale = int(scale.split("x")[0]) // 128