shukdevdatta123 commited on
Commit
40dae95
·
verified ·
1 Parent(s): 8a3f412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,9 +42,9 @@ def translate_to_japanese(api_key, text):
42
 
43
  # Call the OpenAI API to get the pronunciation
44
  response_pronunciation = openai.ChatCompletion.create(
45
- model="gpt-3.5-turbo",
46
  messages=messages_pronunciation,
47
- max_tokens=150,
48
  temperature=0.5
49
  )
50
 
 
42
 
43
  # Call the OpenAI API to get the pronunciation
44
  response_pronunciation = openai.ChatCompletion.create(
45
+ model="gpt-4o",
46
  messages=messages_pronunciation,
47
+ max_tokens=300,
48
  temperature=0.5
49
  )
50