Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ model = joblib.load(model_path)
|
|
| 12 |
# Streamlit UI for Customer Churn Prediction
|
| 13 |
st.title("Engine Predictive Maintenance App")
|
| 14 |
st.write("Engine Predictive Maintenance App is a tool to predicts whether an engine will fail or not based on the engine health parameters.")
|
| 15 |
-
st.write("
|
| 16 |
|
| 17 |
# Get the inputs and save them into a dataframe
|
| 18 |
Engine_rpm = st.number_input("Engine rpms", min_value=0, max_value=5000, value=500)
|
|
@@ -33,7 +33,7 @@ input_data = pd.DataFrame([{
|
|
| 33 |
}])
|
| 34 |
|
| 35 |
# Set the classification threshold
|
| 36 |
-
classification_threshold = 0.
|
| 37 |
|
| 38 |
# Predict button
|
| 39 |
if st.button("Predict"):
|
|
|
|
| 12 |
# Streamlit UI for Customer Churn Prediction
|
| 13 |
st.title("Engine Predictive Maintenance App")
|
| 14 |
st.write("Engine Predictive Maintenance App is a tool to predicts whether an engine will fail or not based on the engine health parameters.")
|
| 15 |
+
st.write("Please enter the Enging parameters.")
|
| 16 |
|
| 17 |
# Get the inputs and save them into a dataframe
|
| 18 |
Engine_rpm = st.number_input("Engine rpms", min_value=0, max_value=5000, value=500)
|
|
|
|
| 33 |
}])
|
| 34 |
|
| 35 |
# Set the classification threshold
|
| 36 |
+
classification_threshold = 0.425
|
| 37 |
|
| 38 |
# Predict button
|
| 39 |
if st.button("Predict"):
|