harishsohani commited on
Commit
84eb33a
·
verified ·
1 Parent(s): 50b0cef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -28
app.py CHANGED
@@ -18,30 +18,6 @@ def formatted_number_input2(title, hint, minval, maxval, defvalue, steps, valfor
18
 
19
  st.markdown('<div style="margin-bottom:4px;">', unsafe_allow_html=True)
20
 
21
- #col1, col2 = st.columns([2.5, 1], vertical_alignment="center")
22
-
23
- '''
24
- with col1:
25
- st.markdown(
26
- f"""
27
- <div style="line-height:1.0">
28
- <strong>{title}</strong><br>
29
- <span style="font-size:1.10em; color:gray;">(Range {hint})</span>
30
- </div>
31
- """,
32
- unsafe_allow_html=True
33
- )
34
-
35
- with col2:
36
- user_input = st.number_input("",
37
- min_value=minval,
38
- max_value=maxval,
39
- value=defvalue,
40
- step=steps,
41
- format=valformat,
42
- label_visibility="collapsed"
43
- )
44
- '''
45
  user_input = st.number_input(f"{title}\n{hint}",
46
  min_value=minval,
47
  max_value=maxval,
@@ -77,10 +53,21 @@ st.markdown("""
77
  # ---------------------------------------------------------
78
  # TITLE
79
  # ---------------------------------------------------------
80
- st.title("🏖️ Predict Maintenance")
81
- st.write("The Predict Maintenance app is a tool to predict if an Engine needs any maintenance based on provided operating sensor parameters.")
82
- st.write("Fill in the details below and click **Predict** to see if the Engine needs maintenance to prevent from failure.")
83
-
 
 
 
 
 
 
 
 
 
 
 
84
 
85
 
86
  # ====================================
 
18
 
19
  st.markdown('<div style="margin-bottom:4px;">', unsafe_allow_html=True)
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  user_input = st.number_input(f"{title}\n{hint}",
22
  min_value=minval,
23
  max_value=maxval,
 
53
  # ---------------------------------------------------------
54
  # TITLE
55
  # ---------------------------------------------------------
56
+ #st.title("🏖️ Predict Engine Maintenance")
57
+ #st.write("The Predict Maintenance app is a tool to predict if an Engine needs any maintenance based on provided operating sensor parameters.")
58
+ #st.write("Fill in the details below and click **Predict** to see if the Engine needs maintenance to prevent from failure.")
59
+ # -----------------------------
60
+ # Title & Description
61
+ # -----------------------------
62
+ st.markdown("""
63
+ <h2 style="margin-top: 0.5rem;">
64
+ 🔧 Engine Predictive Maintenance System
65
+ </h2>
66
+ """, unsafe_allow_html=True)
67
+ st.markdown(
68
+ "Predict potential engine failures using real-time sensor inputs. "
69
+ "The model is optimized for **high fault recall** to minimize missed failures."
70
+ )
71
 
72
 
73
  # ====================================