Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -199,20 +199,25 @@ Equipment: {', '.join(equipment_available) if equipment_available else 'None'}
|
|
199 |
Location: {workout_location}
|
200 |
|
201 |
Create a detailed weekly workout plan with these requirements:
|
202 |
-
1. Include {workout_days} workout days with rest days appropriately spaced
|
203 |
2. Each workout should be completable within {time_available} minutes
|
204 |
3. Include general warm-up, then day-specific warmup
|
205 |
4. Include general cool-down recommendations and warm-up sets for each exercise
|
206 |
5. Provide specific exercises with sets, reps, rest periods, and recommended RPE
|
207 |
6. Use RPE and RIR based approach
|
208 |
7. Use science based approach for exercise selection and progression
|
209 |
-
8. Do not recommend redundant exercises (ie, 2
|
210 |
9. Include progression tips
|
211 |
10. Do not give a specific day for core, recommend to do core exercises on every other day (max 3 exercises)
|
212 |
-
11.
|
213 |
-
12.
|
214 |
-
13.
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
216 |
"""
|
217 |
|
218 |
prompt_text = st.text_area("Customize Prompt", default_prompt, height=400)
|
|
|
199 |
Location: {workout_location}
|
200 |
|
201 |
Create a detailed weekly workout plan with these requirements:
|
202 |
+
1. Include {workout_days} workout days with rest days appropriately spaced.
|
203 |
2. Each workout should be completable within {time_available} minutes
|
204 |
3. Include general warm-up, then day-specific warmup
|
205 |
4. Include general cool-down recommendations and warm-up sets for each exercise
|
206 |
5. Provide specific exercises with sets, reps, rest periods, and recommended RPE
|
207 |
6. Use RPE and RIR based approach
|
208 |
7. Use science based approach for exercise selection and progression
|
209 |
+
8. Do not recommend redundant exercises (ie, 2 exercises that target the same muscle, at the exact same angle and ROM)
|
210 |
9. Include progression tips
|
211 |
10. Do not give a specific day for core, recommend to do core exercises on every other day (max 3 exercises)
|
212 |
+
11. Format the response in a clear, organized way with days of the week as headers
|
213 |
+
12. Include a brief explanation of why this plan suits the user's goals and fitness level
|
214 |
+
13. Take into consideration that the user is at {fitness_level} fitness level
|
215 |
+
|
216 |
+
examples:
|
217 |
+
- for 6 days: Arnold Split OR PPL x2
|
218 |
+
- for 5 days: Push, Pull, Legs, Upper, Lower OR Upper, Lower, Upper, Lower, Weak Points
|
219 |
+
- for 4 days: Upper, Lower, Upper, Lower
|
220 |
+
- for 3 days: Full Body x3
|
221 |
"""
|
222 |
|
223 |
prompt_text = st.text_area("Customize Prompt", default_prompt, height=400)
|