Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -816,8 +816,8 @@ elif app_mode == "Model Training":
|
|
816 |
except Exception as e: #Local error
|
817 |
st.write(f"Plotting functions requires tree based-models and for classification: {e}")
|
818 |
|
819 |
-
|
820 |
-
|
821 |
|
822 |
# Model Saving
|
823 |
model_filename = st.text_input("Enter Model Filename (without extension)", "trained_model")
|
|
|
816 |
except Exception as e: #Local error
|
817 |
st.write(f"Plotting functions requires tree based-models and for classification: {e}")
|
818 |
|
819 |
+
else:
|
820 |
+
st.write("Please upload and clean data first.")
|
821 |
|
822 |
# Model Saving
|
823 |
model_filename = st.text_input("Enter Model Filename (without extension)", "trained_model")
|