-
Notifications
You must be signed in to change notification settings - Fork 546
Description
when running narrator.py, the error message below comes up.
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model gpt-4-vision-preview
has been deprecated, learn more here: https://platform.openai.com/docs/deprecations', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
looking at https://platform.openai.com/docs/deprecations, it shows that 'gpt-4-vision-preview's recommended replacement is 'gpt-4o'
When I replace the above in narrator.py line 58 with 'gpt-4o', the new error message I get is
openai.BadRequestError: Error code: 400 - {'error': {'message': "Invalid type for 'messages[1].content[1].image_url': expected an object, but got a string instead.", 'type': 'invalid_request_error', 'param': 'messages[1].content[1].image_url', 'code': 'invalid_type'}}
Anyone know a fix for this?