Spaces:
Sleeping
Sleeping
Stardragon2099
commited on
Commit
·
fcf926a
1
Parent(s):
bf7732b
ported to chatgpt api
Browse files
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-
|
89 |
messages=messages,
|
90 |
files=[("file", file_id)]
|
91 |
)
|
|
|
85 |
# Make API call
|
86 |
try:
|
87 |
response = openai.ChatCompletion.create(
|
88 |
+
model="gpt-4o-mini",
|
89 |
messages=messages,
|
90 |
files=[("file", file_id)]
|
91 |
)
|