Nakhwa commited on
Commit
070c574
1 Parent(s): d6c2bbd

Update deteksi_upload.py

Browse files
Files changed (1) hide show
  1. deteksi_upload.py +2 -0
deteksi_upload.py CHANGED
@@ -140,6 +140,8 @@ def show_deteksi_upload():
140
  cols = ['Result_Detection', 'Result_Correction'] + \
141
  [col for col in corrected_df.columns if col not in ['Result_Detection', 'Result_Correction']]
142
 
 
 
143
  st.markdown("<h6 style='font-size: 16px; margin-bottom: 0;'>Data yang Dikoreksi</h6>", unsafe_allow_html=True)
144
  st.dataframe(corrected_df_to_display, use_container_width=True, hide_index=True)
145
  else:
 
140
  cols = ['Result_Detection', 'Result_Correction'] + \
141
  [col for col in corrected_df.columns if col not in ['Result_Detection', 'Result_Correction']]
142
 
143
+ corrected_df_to_display = corrected_df[cols]
144
+
145
  st.markdown("<h6 style='font-size: 16px; margin-bottom: 0;'>Data yang Dikoreksi</h6>", unsafe_allow_html=True)
146
  st.dataframe(corrected_df_to_display, use_container_width=True, hide_index=True)
147
  else: