LeonceNsh commited on
Commit
b3a4890
·
verified ·
1 Parent(s): f7e0857

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,8 +70,8 @@ def parse_query(nl_query):
70
  ]
71
 
72
  try:
73
- response = openai.ChatCompletion.create(
74
- model="gpt-3.5-turbo", # Use a valid and accessible model
75
  messages=messages,
76
  temperature=0,
77
  max_tokens=150,
 
70
  ]
71
 
72
  try:
73
+ response = openai.chat.completions.create(
74
+ model="gpt-4o-mini", # Use a valid and accessible model
75
  messages=messages,
76
  temperature=0,
77
  max_tokens=150,