You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'}}
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?
The text was updated successfully, but these errors were encountered:
generalpublic
changed the title
"gpt-4-vision-preview" model deprecating
"expected an object, but got a string instead"
Aug 2, 2024
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?
The text was updated successfully, but these errors were encountered: