Ashish Soni commited on
Commit
003f41c
·
verified ·
1 Parent(s): 1a1d9fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -88,4 +88,18 @@ with st.form(key='trip_form'):
88
 
89
  with c2:
90
  st.subheader('Arrival')
91
- st.selectbox('Arrival To', ('Airport', 'Train Station', 'Bus Station', 'Ferry Terminal', 'Port', 'Other'), key='arrival_to
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
89
  with c2:
90
  st.subheader('Arrival')
91
+ st.selectbox('Arrival To', ('Airport', 'Train Station', 'Bus Station', 'Ferry Terminal', 'Port', 'Other'), key='arrival_to')
92
+ st.date_input('Arrival Date', value=now_date, key='arrival_date')
93
+ st.time_input('Arrival Time', value=now_time, key='arrival_time')
94
+
95
+ with c3:
96
+ st.subheader('Departure')
97
+ st.selectbox('Departure From', ('Airport', 'Train Station', 'Bus Station', 'Ferry Terminal', 'Port', 'Other'), key='departure_from')
98
+ st.date_input('Departure Date', value=now_date + timedelta(days=1), key='departure_date')
99
+ st.time_input('Departure Time', value=now_time, key='departure_time')
100
+
101
+ st.text_area('Additional Information', height=200, value='I want to visit as many places as possible! (respect time)', key='additional_information')
102
+
103
+ # Display Generated Trip Schedule
104
+ st.subheader('Trip Schedule')
105
+ st.write(st.session_state.output)