Yacine Jernite commited on
Commit
67a181c
1 Parent(s): 11d3c97

fix length selectbox

Browse files
data_measurements/streamlit_utils.py CHANGED
@@ -175,8 +175,6 @@ def expander_text_lengths(dstats, column_id):
175
  # This is quite a large file and is breaking our ability to navigate the app development.
176
  # Just passing if it's not already there for launch v0
177
  if dstats.length_df is not None:
178
- start_id_show_lengths= st.selectbox("Show examples of length:", sorted(dstats.length_df["length"].unique().tolist()))
179
- st.table(dstats.length_df[dstats.length_df["length"] == start_id_show_lengths].set_index("length"))
180
  start_id_show_lengths = st.selectbox(
181
  "Show examples of length:",
182
  sorted(dstats.length_df["length"].unique().tolist()),
 
175
  # This is quite a large file and is breaking our ability to navigate the app development.
176
  # Just passing if it's not already there for launch v0
177
  if dstats.length_df is not None:
 
 
178
  start_id_show_lengths = st.selectbox(
179
  "Show examples of length:",
180
  sorted(dstats.length_df["length"].unique().tolist()),