son9john commited on
Commit
e49a7aa
1 Parent(s): ee80fee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -206,7 +206,7 @@ def transcribe(audio, text, submit_update=None):
206
  with concurrent.futures.ThreadPoolExecutor() as executor:
207
  prompt = [{"text": f"{message['role']}: {message['content']}\n\n"} for message in messages]
208
  system_message = openai.ChatCompletion.create(
209
- model="gpt-3.5-turbo",
210
  messages=messages,
211
  max_tokens=2000
212
  )["choices"][0]["message"]
 
206
  with concurrent.futures.ThreadPoolExecutor() as executor:
207
  prompt = [{"text": f"{message['role']}: {message['content']}\n\n"} for message in messages]
208
  system_message = openai.ChatCompletion.create(
209
+ model="gpt-4",
210
  messages=messages,
211
  max_tokens=2000
212
  )["choices"][0]["message"]