Upload folder using huggingface_hub
Browse files75 unmodified lines7677787980818275 unmodified lines# Apply custom thresholdprediction = 1 if prediction_proba >= classification_threshold else 0if prediction == 1:st.error(f"### ⚠️ CRITICAL: Engine Failure Likely\n**Probability of Failure:** {prediction_proba:.2%}")st.write("Immediate maintenance inspection recommended to avoid service disruption.")75 unmodified lines7677787980818275 unmodified lines# Apply custom thresholdprediction = 1 if prediction_proba >= classification_threshold else 0# using markdown heading syntax (###) to adjust font size on the UI:if prediction == 1:st.error(f"### ⚠️ CRITICAL: Engine Failure Likely\n**Probability of Failure:** {prediction_proba:.2%}")st.write("Immediate maintenance inspection recommended to avoid service disruption.")
app.py+1-1