Update app.py
Browse files
app.py
CHANGED
|
@@ -61,6 +61,6 @@ if st.button("Predict Wine Quality"):
|
|
| 61 |
prediction = model.predict(input_data)
|
| 62 |
st.markdown(f'<p class="prediction">Predicted Wine Quality: {prediction[0]}</p>', unsafe_allow_html=True)
|
| 63 |
else:
|
| 64 |
-
st.error(f"❌ Model file '{
|
| 65 |
|
| 66 |
|
|
|
|
| 61 |
prediction = model.predict(input_data)
|
| 62 |
st.markdown(f'<p class="prediction">Predicted Wine Quality: {prediction[0]}</p>', unsafe_allow_html=True)
|
| 63 |
else:
|
| 64 |
+
st.error(f"❌ Model file '{model_path}' not found. Please train the model and try again.")
|
| 65 |
|
| 66 |
|