Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ routes = ["AKLDEL", "AKLHGH", "AKLHND", "AKLICN", "AKLKIX", "AKLKTM"]
|
|
| 25 |
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
-
fn=predict_booking
|
| 29 |
inputs=[gr.Number(label="Number of Passengers"),
|
| 30 |
gr.Dropdown(choices=["Online","Offline"],label="Sales Channel"),
|
| 31 |
gr.Dropdown(choices=["Single Trip","Round Trip"],label="Trip Type"),
|
|
@@ -33,7 +33,7 @@ iface = gr.Interface(
|
|
| 33 |
gr.Number(label="Length of Stay"),
|
| 34 |
gr.Number(label="Flight Hours"),
|
| 35 |
gr.Number(label="Flight Day"),
|
| 36 |
-
gr.
|
| 37 |
gr.Dropdown(choices=["Yes","No"],label="Want Extra Baggage"),
|
| 38 |
gr.Dropdown(choices=["Yes","No"],label="Want Prefered Seat"),
|
| 39 |
gr.Dropdown(choices=["Yes","No"],label="Want In-Flight Meals"),
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
+
fn=predict_booking,
|
| 29 |
inputs=[gr.Number(label="Number of Passengers"),
|
| 30 |
gr.Dropdown(choices=["Online","Offline"],label="Sales Channel"),
|
| 31 |
gr.Dropdown(choices=["Single Trip","Round Trip"],label="Trip Type"),
|
|
|
|
| 33 |
gr.Number(label="Length of Stay"),
|
| 34 |
gr.Number(label="Flight Hours"),
|
| 35 |
gr.Number(label="Flight Day"),
|
| 36 |
+
gr.Dropdown(choices=routes,label="Route"),
|
| 37 |
gr.Dropdown(choices=["Yes","No"],label="Want Extra Baggage"),
|
| 38 |
gr.Dropdown(choices=["Yes","No"],label="Want Prefered Seat"),
|
| 39 |
gr.Dropdown(choices=["Yes","No"],label="Want In-Flight Meals"),
|