-
Notifications
You must be signed in to change notification settings - Fork 34
Fix function call #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
if ~endsWith(s.name, ".png") | ||
imgDetails = imfinfo(filePath); | ||
imgFormat = imgDetails.Format; | ||
if ~(imgFormat=="png") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come do we accept only "png"? Is it a requirement from the OpenAI API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that restriction comes from the OpenAI side. We might later want to add a test to make sure this behavior not changing.
The example works for me. The .csv file is being generated as expected. |
@@ -86,7 +86,7 @@ | |||
|
|||
arguments | |||
this (1,1) openAIImages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openAIImages is not perfectly aligned. Just delete a space before it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openAIImages is not perfectly aligned. Just delete a space before it.
Fixing broken function call examples