wenjun99 commited on
Commit
a33de8f
·
verified ·
1 Parent(s): 84c642e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -222,3 +222,8 @@ with tab2:
222
  st.subheader("Binary Labels (Ascending 3244→4882)")
223
  st.dataframe(binary_part.style.applymap(color_binary))
224
  st.download_button("Download Ascending Order CSV", binary_part.to_csv(index=False), "ef_binary_labels_ascending.csv")
 
 
 
 
 
 
222
  st.subheader("Binary Labels (Ascending 3244→4882)")
223
  st.dataframe(binary_part.style.applymap(color_binary))
224
  st.download_button("Download Ascending Order CSV", binary_part.to_csv(index=False), "ef_binary_labels_ascending.csv")
225
+
226
+ all_bits = binary_part.values.flatten().tolist()
227
+ decoded_string = binary_labels_to_string(all_bits)
228
+ st.subheader("Decoded String (continuous across rows)")
229
+ st.write(decoded_string)