jenngang commited on
Commit
f0548c5
·
verified ·
1 Parent(s): 9d54796

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -570,9 +570,9 @@ class NutritionBot:
570
 
571
  self.client = ChatOpenAI(
572
  model_name="gpt-4o", # 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
- base_url = endpoint, # config.get("OPENAI_API_BASE"),
575
- temperature=0 # Controls randomness in responses; 0 ensures deterministic results
576
  )
577
 
578
  # Define tools available to the chatbot, such as web search
 
570
 
571
  self.client = ChatOpenAI(
572
  model_name="gpt-4o", # 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
+ #base_url = endpoint, # config.get("OPENAI_API_BASE"),
575
+ #temperature=0 # Controls randomness in responses; 0 ensures deterministic results
576
  )
577
 
578
  # Define tools available to the chatbot, such as web search