Spaces:
Running
Running
Update app.py
#1
by
hangrysoul14
- opened
app.py
CHANGED
|
@@ -1027,7 +1027,11 @@ Special Requirements: {user_input['special_requirements']}
|
|
| 1027 |
update_step_status(5, 'active')
|
| 1028 |
with st.session_state.progress_placeholder.container():
|
| 1029 |
display_modern_progress(st.session_state.current_step)
|
| 1030 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1031 |
|
| 1032 |
Destination Information:
|
| 1033 |
{destination_info}
|
|
@@ -1044,13 +1048,15 @@ Recommended Activities:
|
|
| 1044 |
Dining Recommendations:
|
| 1045 |
{dining_info}
|
| 1046 |
"""
|
| 1047 |
-
|
| 1048 |
-
|
| 1049 |
-
|
| 1050 |
-
|
| 1051 |
-
|
| 1052 |
-
|
| 1053 |
-
|
|
|
|
|
|
|
| 1054 |
update_step_status(5, 'complete')
|
| 1055 |
st.session_state.current_step = 6
|
| 1056 |
with st.session_state.progress_placeholder.container():
|
|
|
|
| 1027 |
update_step_status(5, 'active')
|
| 1028 |
with st.session_state.progress_placeholder.container():
|
| 1029 |
display_modern_progress(st.session_state.current_step)
|
| 1030 |
+
combined_info = f"""{input_context}
|
| 1031 |
+
|
| 1032 |
+
Trip Duration: {user_input['duration']} days
|
| 1033 |
+
Origin: {user_input['origin']}
|
| 1034 |
+
Destination: {user_input['destination']}
|
| 1035 |
|
| 1036 |
Destination Information:
|
| 1037 |
{destination_info}
|
|
|
|
| 1048 |
Dining Recommendations:
|
| 1049 |
{dining_info}
|
| 1050 |
"""
|
| 1051 |
+
|
| 1052 |
+
|
| 1053 |
+
itinerary = run_task_with_logs(
|
| 1054 |
+
itinerary_task,
|
| 1055 |
+
combined_info,
|
| 1056 |
+
log_container,
|
| 1057 |
+
output_container,
|
| 1058 |
+
"itinerary"
|
| 1059 |
+
)
|
| 1060 |
update_step_status(5, 'complete')
|
| 1061 |
st.session_state.current_step = 6
|
| 1062 |
with st.session_state.progress_placeholder.container():
|