Spaces:
Sleeping
Sleeping
Updated prompts
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ if __name__ == "__main__":
|
|
| 118 |
with col2:
|
| 119 |
destination_city = st.text_input("Destination City")
|
| 120 |
|
| 121 |
-
st.text("Date format:
|
| 122 |
col1, col2 = st.columns(2)
|
| 123 |
with col1:
|
| 124 |
date_of_departure = st.text_input("Date of Departure")
|
|
|
|
| 118 |
with col2:
|
| 119 |
destination_city = st.text_input("Destination City")
|
| 120 |
|
| 121 |
+
st.text("Date format: 1 Mar 2025")
|
| 122 |
col1, col2 = st.columns(2)
|
| 123 |
with col1:
|
| 124 |
date_of_departure = st.text_input("Date of Departure")
|
tasks.py
CHANGED
|
@@ -125,11 +125,25 @@ class TravelTasks:
|
|
| 125 |
description=dedent(
|
| 126 |
f"""
|
| 127 |
**Task**: Develop a detailed per-day plan of sleep, diet and exercise for 3 days before travel, during travel, and 3 days to avoid jet lag.
|
| 128 |
-
**Description**: Create a comprehensive travel plan inclduing flight
|
| 129 |
You MUST consider the inputs from other agents and curate information together to minimizes the impact of jet lag.
|
| 130 |
The plan MUST include sleep timings, caffeine consumption, exposure to sunlight, food consumption,
|
| 131 |
-
and exercise routines based on the user's preferences.
|
| 132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
**Note**: {self.__tip_section()}
|
| 134 |
"""
|
| 135 |
),
|
|
|
|
| 125 |
description=dedent(
|
| 126 |
f"""
|
| 127 |
**Task**: Develop a detailed per-day plan of sleep, diet and exercise for 3 days before travel, during travel, and 3 days to avoid jet lag.
|
| 128 |
+
**Description**: Create a comprehensive travel plan inclduing flight details (Flight code and timings), sleep schedule, diet and exercise plan to minimize jet lag during and after travel.
|
| 129 |
You MUST consider the inputs from other agents and curate information together to minimizes the impact of jet lag.
|
| 130 |
The plan MUST include sleep timings, caffeine consumption, exposure to sunlight, food consumption,
|
| 131 |
+
and exercise routines based on the user's preferences. Format can be:
|
| 132 |
+
Flight Details:
|
| 133 |
+
- Departure Flight: [Flight Code] at [Time]
|
| 134 |
+
- Return Flight: [Flight Code] at [Time]
|
| 135 |
+
3 Days Before Travel for each day:
|
| 136 |
+
- Sleep Schedule: [Details]
|
| 137 |
+
- Diet Plan: [Details]
|
| 138 |
+
- Fitness Routine: [Details]
|
| 139 |
+
During Travel including day of journey:
|
| 140 |
+
- Sleep Schedule: [Details]
|
| 141 |
+
- Diet Plan: [Details]
|
| 142 |
+
- Fitness Routine: [Details]
|
| 143 |
+
After Travel:
|
| 144 |
+
- Sleep Schedule: [Details]
|
| 145 |
+
- Diet Plan: [Details]
|
| 146 |
+
- Fitness Routine: [Details]
|
| 147 |
**Note**: {self.__tip_section()}
|
| 148 |
"""
|
| 149 |
),
|