Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def get_category(bmi):
|
|
| 46 |
def build_prompt(name, height, weight, goal, level, equipment, bmi, bmi_status):
|
| 47 |
equipment_list = ", ".join(equipment)
|
| 48 |
|
| 49 |
-
|
| 50 |
You are a certified professional fitness trainer.
|
| 51 |
|
| 52 |
IMPORTANT:
|
|
@@ -100,7 +100,6 @@ Cooldown:
|
|
| 100 |
Each day must contain 4–5 exercises only.
|
| 101 |
Keep total response under 900 words.
|
| 102 |
"""
|
| 103 |
-
|
| 104 |
return prompt.strip()
|
| 105 |
|
| 106 |
# -------------------------
|
|
|
|
| 46 |
def build_prompt(name, height, weight, goal, level, equipment, bmi, bmi_status):
|
| 47 |
equipment_list = ", ".join(equipment)
|
| 48 |
|
| 49 |
+
prompt = f"""
|
| 50 |
You are a certified professional fitness trainer.
|
| 51 |
|
| 52 |
IMPORTANT:
|
|
|
|
| 100 |
Each day must contain 4–5 exercises only.
|
| 101 |
Keep total response under 900 words.
|
| 102 |
"""
|
|
|
|
| 103 |
return prompt.strip()
|
| 104 |
|
| 105 |
# -------------------------
|