waqasali1707 commited on
Commit
596e9c4
·
verified ·
1 Parent(s): 068b965

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 my weight is {weight} pounds, my height is {height} feet, and my BMI is {bmi}. It should be a weekly plan with durations of each step."
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",