Serg4451D commited on
Commit
ec55563
·
verified ·
1 Parent(s): 263a273

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ client = Client()
8
  def chat_with_gpt(user_input):
9
  try:
10
  response = client.chat.completions.create(
11
- model="gpt-4",
12
  messages=[{"role": "user", "content": user_input}]
13
  )
14
  return response.choices[0].message.content
 
8
  def chat_with_gpt(user_input):
9
  try:
10
  response = client.chat.completions.create(
11
+ model="gpt-4-o",
12
  messages=[{"role": "user", "content": user_input}]
13
  )
14
  return response.choices[0].message.content