jenngang commited on
Commit
e302641
·
verified ·
1 Parent(s): 699e773

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -570,7 +570,7 @@ class NutritionBot:
570
 
571
  self.client = ChatOpenAI(
572
  model_name="gpt-4o-mini", # Specify the model to use (e.g., GPT-4 optimized version)
573
- api_key = api_key, # config.get("API_KEY"), # API key for authentication
574
  #endpoint = endpoint, # config.get("OPENAI_API_BASE"),
575
  temperature=0 # Controls randomness in responses; 0 ensures deterministic results
576
  )
 
570
 
571
  self.client = ChatOpenAI(
572
  model_name="gpt-4o-mini", # Specify the model to use (e.g., GPT-4 optimized version)
573
+ api_key = my_api_key, # config.get("API_KEY"), # API key for authentication
574
  #endpoint = endpoint, # config.get("OPENAI_API_BASE"),
575
  temperature=0 # Controls randomness in responses; 0 ensures deterministic results
576
  )