Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -571,7 +571,7 @@ class NutritionBot:
|
|
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 |
)
|
577 |
|
|
|
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 |
)
|
577 |
|