Spaces:
Sleeping
Sleeping
Added spinner timing
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ if __name__ == "__main__":
|
|
151 |
# st.login()
|
152 |
# else:
|
153 |
if st.button("Generate Plan", type="primary") and origin_city and destination_city and date_of_departure and date_of_return and departure_flight and return_flight and food_preference and exercise_preference:
|
154 |
-
with st.spinner('Your plan is getting ready...'):
|
155 |
trip_crew = TripCrew(origin_city, destination_city, date_of_departure, date_of_return, departure_flight, return_flight, food_preference, exercise_preference)
|
156 |
result = trip_crew.run()
|
157 |
st.markdown(result)
|
|
|
151 |
# st.login()
|
152 |
# else:
|
153 |
if st.button("Generate Plan", type="primary") and origin_city and destination_city and date_of_departure and date_of_return and departure_flight and return_flight and food_preference and exercise_preference:
|
154 |
+
with st.spinner('Your personalised plan is getting ready...', show_time=True):
|
155 |
trip_crew = TripCrew(origin_city, destination_city, date_of_departure, date_of_return, departure_flight, return_flight, food_preference, exercise_preference)
|
156 |
result = trip_crew.run()
|
157 |
st.markdown(result)
|