fix model name in ocr
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def process_image_with_openai(files):
|
|
| 163 |
|
| 164 |
try:
|
| 165 |
response = client.chat.completions.create(
|
| 166 |
-
model="gpt-4o-
|
| 167 |
messages=messages,
|
| 168 |
temperature=0.5,
|
| 169 |
max_tokens=1000
|
|
|
|
| 163 |
|
| 164 |
try:
|
| 165 |
response = client.chat.completions.create(
|
| 166 |
+
model="gpt-4o-vision",
|
| 167 |
messages=messages,
|
| 168 |
temperature=0.5,
|
| 169 |
max_tokens=1000
|