Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def get_nutritional_info(description):
|
|
| 13 |
|
| 14 |
try:
|
| 15 |
response = openai.ChatCompletion.create(
|
| 16 |
-
model="gpt-
|
| 17 |
messages=[
|
| 18 |
{"role": "system", "content": "You are a nutrition expert."},
|
| 19 |
{"role": "user", "content": prompt}
|
|
|
|
| 13 |
|
| 14 |
try:
|
| 15 |
response = openai.ChatCompletion.create(
|
| 16 |
+
model="gpt-4o-mini", # Assuming GPT-4o-mini is the model you're using (could be gpt-3.5-turbo, etc.)
|
| 17 |
messages=[
|
| 18 |
{"role": "system", "content": "You are a nutrition expert."},
|
| 19 |
{"role": "user", "content": prompt}
|