Spaces:
Sleeping
Sleeping
Update deteksi_upload.py
Browse files- deteksi_upload.py +2 -2
deteksi_upload.py
CHANGED
@@ -137,8 +137,8 @@ def show_deteksi_upload():
|
|
137 |
# Add Timestamp only for saving
|
138 |
corrected_df['Timestamp'] = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
|
139 |
|
140 |
-
cols = ['
|
141 |
-
|
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)
|
|
|
137 |
# Add Timestamp only for saving
|
138 |
corrected_df['Timestamp'] = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
|
139 |
|
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)
|