Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ with open(r"Model.pickle", "rb") as f:
|
|
| 7 |
model = pickle.load(f)
|
| 8 |
|
| 9 |
|
| 10 |
-
def
|
| 11 |
flight_hour, flight_day, route, booking_origin, wants_extra_baggage,
|
| 12 |
wants_preferred_seat, wants_in_flight_meals, flight_duration):
|
| 13 |
|
|
|
|
| 7 |
model = pickle.load(f)
|
| 8 |
|
| 9 |
|
| 10 |
+
def predict_booking(num_passengers, sales_channel, trip_type, purchase_lead, length_of_stay,
|
| 11 |
flight_hour, flight_day, route, booking_origin, wants_extra_baggage,
|
| 12 |
wants_preferred_seat, wants_in_flight_meals, flight_duration):
|
| 13 |
|