Spaces:
Runtime error
Runtime error
Astralsparks
commited on
Commit
•
b51b7b5
1
Parent(s):
6ef2794
edit app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ features = ['Gender','Customer Type','Age','Type of Travel','Class','Flight Dist
|
|
18 |
'Cleanliness','Departure Delay in Minutes','Arrival Delay in Minutes']
|
19 |
|
20 |
def infer(data_infer):
|
21 |
-
# predict result
|
22 |
-
|
23 |
-
return
|
24 |
|
25 |
# header deployment
|
26 |
st.header("Predicting Passenger Flight Satisfaction")
|
|
|
18 |
'Cleanliness','Departure Delay in Minutes','Arrival Delay in Minutes']
|
19 |
|
20 |
def infer(data_infer):
|
21 |
+
# predict result with pre-trained model
|
22 |
+
pred = catb_pipe.predict(data_infer)
|
23 |
+
return pred
|
24 |
|
25 |
# header deployment
|
26 |
st.header("Predicting Passenger Flight Satisfaction")
|