saritha5 commited on
Commit
9473f46
·
1 Parent(s): 4a74b85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,7 +34,7 @@ def user_report():
34
  else:
35
  Aircraft_Type=1
36
  manufacturer = st.sidebar.selectbox("Manufacturer",
37
- ("JKL Company", "GHI Company","AGS Company","ABC Company","ABC Company","XYZ Company" ))
38
  if manufacturer=='JKL Company':
39
  manufacturer=3
40
  elif manufacturer=="GHI Company":
@@ -154,4 +154,4 @@ def prediction(df):
154
  y_pred = prediction(user_data)
155
 
156
  if st.button("Predict"):
157
- st.subheader(f"Time required to Repairs the Component is {y_pred} in hours")
 
34
  else:
35
  Aircraft_Type=1
36
  manufacturer = st.sidebar.selectbox("Manufacturer",
37
+ ("JKL Company", "GHI Company","AGS Company","ABC Company","XYZ Company" ))
38
  if manufacturer=='JKL Company':
39
  manufacturer=3
40
  elif manufacturer=="GHI Company":
 
154
  y_pred = prediction(user_data)
155
 
156
  if st.button("Predict"):
157
+ st.subheader(f"Time required to Repairs the Component is {y_pred} hours")