update local saving bug
Browse files- numerdash_app.py +4 -1
numerdash_app.py
CHANGED
@@ -335,7 +335,10 @@ def data_operation():
|
|
335 |
|
336 |
model_df = model_df[ord_cols]
|
337 |
if project_config.SAVE_LOCAL_COPY:
|
338 |
-
|
|
|
|
|
|
|
339 |
st.session_state['model_data'] = model_df
|
340 |
|
341 |
if show_info:
|
|
|
335 |
|
336 |
model_df = model_df[ord_cols]
|
337 |
if project_config.SAVE_LOCAL_COPY:
|
338 |
+
try:
|
339 |
+
project_utils.pickle_data(project_config.MODEL_ROUND_RESULT_FILE, model_df)
|
340 |
+
except:
|
341 |
+
pass
|
342 |
st.session_state['model_data'] = model_df
|
343 |
|
344 |
if show_info:
|