jenngang commited on
Commit
337c382
·
verified ·
1 Parent(s): 9c9fd62

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -580,7 +580,7 @@ class NutritionBot:
580
  # Initialize the OpenAI client using the provided credentials
581
  self.client = ChatOpenAI(
582
  model_name="gpt-4o", # Used gpt-4o to get improved results; Specify the model to use (e.g., GPT-4 optimized version)
583
- api_key=my_api_key, # API key for authentication
584
  temperature=0 # Controls randomness in responses; 0 ensures deterministic results
585
  )
586
  print("Got client...")
 
580
  # Initialize the OpenAI client using the provided credentials
581
  self.client = ChatOpenAI(
582
  model_name="gpt-4o", # Used gpt-4o to get improved results; Specify the model to use (e.g., GPT-4 optimized version)
583
+ api_key=api_key, # API key for authentication
584
  temperature=0 # Controls randomness in responses; 0 ensures deterministic results
585
  )
586
  print("Got client...")