Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
# Set the OpenAI API key using an environment variable
|
| 6 |
-
client = OpenAI(api_key=os.environ['
|
| 7 |
|
| 8 |
def generate_health_advice(health_goals, dietary_preferences, dietary_restrictions, nutritional_interests):
|
| 9 |
# System and user messages for the chat completion API
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
# Set the OpenAI API key using an environment variable
|
| 6 |
+
client = OpenAI(api_key=os.environ['mkey'])
|
| 7 |
|
| 8 |
def generate_health_advice(health_goals, dietary_preferences, dietary_restrictions, nutritional_interests):
|
| 9 |
# System and user messages for the chat completion API
|