AdarshRL commited on
Commit
6945cb8
·
verified ·
1 Parent(s): 62d052d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ if st.button("Generate Prediction", type="primary"):
76
 
77
  # Apply custom threshold
78
  prediction = 1 if prediction_proba >= classification_threshold else 0
79
-
80
  if prediction == 1:
81
  st.error(f"### ⚠️ CRITICAL: Engine Failure Likely\n**Probability of Failure:** {prediction_proba:.2%}")
82
  st.write("Immediate maintenance inspection recommended to avoid service disruption.")
 
76
 
77
  # Apply custom threshold
78
  prediction = 1 if prediction_proba >= classification_threshold else 0
79
+ # using markdown heading syntax (###) to adjust font size on the UI:
80
  if prediction == 1:
81
  st.error(f"### ⚠️ CRITICAL: Engine Failure Likely\n**Probability of Failure:** {prediction_proba:.2%}")
82
  st.write("Immediate maintenance inspection recommended to avoid service disruption.")