Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -580,7 +580,6 @@ class NutritionBot:
|
|
580 |
self.client = ChatOpenAI(
|
581 |
model_name="gpt-4o", # Used gpt-4o to get improved results; Specify the model to use (e.g., GPT-4 optimized version)
|
582 |
api_key=api_key, # API key for authentication
|
583 |
-
endpoint = endpoint,
|
584 |
temperature=0 # Controls randomness in responses; 0 ensures deterministic results
|
585 |
)
|
586 |
|
|
|
580 |
self.client = ChatOpenAI(
|
581 |
model_name="gpt-4o", # Used gpt-4o to get improved results; Specify the model to use (e.g., GPT-4 optimized version)
|
582 |
api_key=api_key, # API key for authentication
|
|
|
583 |
temperature=0 # Controls randomness in responses; 0 ensures deterministic results
|
584 |
)
|
585 |
|