Roxyzhang commited on
Commit
18ef2c9
·
verified ·
1 Parent(s): 4fdecf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def chatbot(input, conversation_history=[]):
34
 
35
  try:
36
  # Generate a response using OpenAI's GPT model
37
- chat = client.chat.completions.create(model="gpt-3.5-turbo", messages=messages)
38
  reply = chat.choices[0].message.content
39
  except Exception as e:
40
  # Handle errors gracefully
 
34
 
35
  try:
36
  # Generate a response using OpenAI's GPT model
37
+ chat = client.chat.completions.create(model="gpt-4o-mini", messages=messages)
38
  reply = chat.choices[0].message.content
39
  except Exception as e:
40
  # Handle errors gracefully