youngtsai commited on
Commit
df2624f
·
1 Parent(s): 15c45c4

if model_name in ["gpt-4-turbo", "gpt-4", "gpt-3.5-turbo"]:

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def generate_new_article(lesson_words, original_article, original_word_count, ba
117
  """
118
 
119
 
120
- if model_name in ["gpt-4-0125-preview", "gpt-4", "gpt-3.5-turbo"]:
121
  response = OPENAI_CLIENT.chat.completions.create(
122
  model=model_name,
123
  messages=[
 
117
  """
118
 
119
 
120
+ if model_name in ["gpt-4-turbo", "gpt-4", "gpt-3.5-turbo"]:
121
  response = OPENAI_CLIENT.chat.completions.create(
122
  model=model_name,
123
  messages=[