Spaces:
Sleeping
Sleeping
waqasali1707
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def generate_workout_plan(weight, height, bmi):
|
|
8 |
api_key="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"
|
9 |
)
|
10 |
|
11 |
-
prompt = f"Give me a workout plan to adjust my weight where
|
12 |
|
13 |
completion = client.chat.completions.create(
|
14 |
model="meta/llama-3.1-405b-instruct",
|
|
|
8 |
api_key="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"
|
9 |
)
|
10 |
|
11 |
+
prompt = f"I am a health care professional. Give me a general workout plan to adjust my clients weight where his weight is {weight} pounds, his height is {height} feet, and his BMI is {bmi}. It should be a weekly plan with durations of each step. I just want to match your plan with my suggestions. So, give me a general overview."
|
12 |
|
13 |
completion = client.chat.completions.create(
|
14 |
model="meta/llama-3.1-405b-instruct",
|