Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def full_day_departure(day):
|
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
-
|
| 76 |
get_specific_flights,
|
| 77 |
[
|
| 78 |
gr.Radio(["today", "tomorrow"], type="value", label="Day", info="When do you have the plane?"),
|
|
@@ -98,5 +98,5 @@ total_departure = gr.Interface(
|
|
| 98 |
|
| 99 |
#flights.launch()
|
| 100 |
|
| 101 |
-
interface = gr.TabbedInterface([
|
| 102 |
interface.launch()
|
|
|
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
+
specific_flights = gr.Interface(
|
| 76 |
get_specific_flights,
|
| 77 |
[
|
| 78 |
gr.Radio(["today", "tomorrow"], type="value", label="Day", info="When do you have the plane?"),
|
|
|
|
| 98 |
|
| 99 |
#flights.launch()
|
| 100 |
|
| 101 |
+
interface = gr.TabbedInterface([specific_flights, total_departure], ["Specific Flights", "Full Day Departure"})
|
| 102 |
interface.launch()
|