sylvainHellin commited on
Commit
753aacd
·
verified ·
1 Parent(s): 98f29d9

updated gpt-4 version

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def APIcall(prompt:str, temperature = 0.7, max_tokens = 1024, model="GPT-3.5", s
29
  if model == "GPT-3.5":
30
  model = "gpt-3.5-turbo"
31
  else:
32
- model = "gpt-4-0125-preview"
33
  # make the API call with the given parameter
34
  response = openai.chat.completions.create(
35
  model=model,
 
29
  if model == "GPT-3.5":
30
  model = "gpt-3.5-turbo"
31
  else:
32
+ model = "gpt-4-turbo-preview"
33
  # make the API call with the given parameter
34
  response = openai.chat.completions.create(
35
  model=model,