dindizz commited on
Commit
e8de02c
·
verified ·
1 Parent(s): f9036b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def get_nutritional_info(description):
13
 
14
  try:
15
  response = openai.ChatCompletion.create(
16
- model="gpt-4", # 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}
 
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}