CosmickVisions commited on
Commit
d801b8a
·
verified ·
1 Parent(s): 0e024d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -914,7 +914,7 @@ elif app_mode == "Neural Network Studio":
914
  test_size = st.slider("Test Size", 0.1, 0.5, 0.2, help="Proportion of the data to use for testing.")
915
 
916
  # Model Training Button
917
- if st.button("Train Neural Network Model"):
918
  with st.spinner("Training neural network model..."):
919
  try:
920
  # Split data
@@ -1067,8 +1067,5 @@ elif app_mode == "Neural Network Studio":
1067
 
1068
  st.success("Model trained successfully!")
1069
 
1070
- except Exception as e:
1071
- st.error(f"An error occurred during training: {e}")
1072
-
1073
  except Exception as e:
1074
  st.error(f"An error occurred during training: {e}")
 
914
  test_size = st.slider("Test Size", 0.1, 0.5, 0.2, help="Proportion of the data to use for testing.")
915
 
916
  # Model Training Button
917
+ if st.button("Train Neural Network Model"):
918
  with st.spinner("Training neural network model..."):
919
  try:
920
  # Split data
 
1067
 
1068
  st.success("Model trained successfully!")
1069
 
 
 
 
1070
  except Exception as e:
1071
  st.error(f"An error occurred during training: {e}")