Stardragon2099 commited on
Commit
bf7732b
·
1 Parent(s): 45e3fef

ported to chatgpt api

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def predict(img, prompt):
85
  # Make API call
86
  try:
87
  response = openai.ChatCompletion.create(
88
- model="gpt-4-vision-preview",
89
  messages=messages,
90
  files=[("file", file_id)]
91
  )
 
85
  # Make API call
86
  try:
87
  response = openai.ChatCompletion.create(
88
+ model="gpt-4-vision",
89
  messages=messages,
90
  files=[("file", file_id)]
91
  )