-
Notifications
You must be signed in to change notification settings - Fork 141
Add file sizes #703
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
Add file sizes #703
Conversation
schema/image_description_schema.json
Outdated
| ], | ||
| "description": "The image file type" | ||
| }, | ||
| "size": { |
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.
nit: use filesize to be more explicit, instead of size?
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.
OK!
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.
Updated!
schema/image_description_schema.json
Outdated
| }, | ||
| "size": { | ||
| "type": "number", | ||
| "description": "File size" |
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.
file size in mb or kb?
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.
Bytes.
ptpt
left a comment
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.
LGTM
This PR adds the file sizes (as "size") to the output JSON files.
Also, adds the total size to be uploaded in the CLI output:
