mathias1 commited on
Commit
c202ca9
·
verified ·
1 Parent(s): 30b6cc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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['key'])
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