SebastianoMeneghin commited on
Commit
a752f91
·
verified ·
1 Parent(s): 44b5c49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,7 +72,7 @@ def full_day_departure(day):
72
 
73
 
74
 
75
- 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,5 +98,5 @@ total_departure = gr.Interface(
98
 
99
  #flights.launch()
100
 
101
- interface = gr.TabbedInterface([total_departure, flights], {"Specific Flights", "Full Day Departure"})
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()