waqasali1707 commited on
Commit
fc46483
·
verified ·
1 Parent(s): 6ced5e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from openai import OpenAI
5
  def generate_workout_plan(weight, height, bmi):
6
  client = OpenAI(
7
  base_url="https://integrate.api.nvidia.com/v1",
8
- api_key="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"
9
  )
10
 
11
  prompt = f"Give me a workout plan to lose weight where my weight is {weight} pounds, my height is {height} feet, and my BMI is {bmi}."
 
5
  def generate_workout_plan(weight, height, bmi):
6
  client = OpenAI(
7
  base_url="https://integrate.api.nvidia.com/v1",
8
+ api_key="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"
9
  )
10
 
11
  prompt = f"Give me a workout plan to lose weight where my weight is {weight} pounds, my height is {height} feet, and my BMI is {bmi}."