Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="nvapi-
|
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}."
|