-
Notifications
You must be signed in to change notification settings - Fork 145
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 image feature extraction task spec and widget #614
Conversation
unfortunately I linted and formatted yet there's no change I could stage in the files |
The error is not in the lint but when building the types:
Probably this line: |
packages/tasks/src/tasks/image-feature-extraction/spec/input.json
Outdated
Show resolved
Hide resolved
Co-authored-by: Lucain <lucainp@gmail.com>
I have made a frankenstein widget from parts of image classification and feature extraction widget 🧟♂️ help is very appreciated! |
is there a screenshot of the widget ? |
@mishig25 how can I get this up on my local to give you a screenshot? it should be text input and table output (like feature extraction but with image input) |
let me know if this readme insutrctions work https://github.com/huggingface/huggingface.js/tree/main/packages/widgets#demo |
"properties": { | ||
"inputs": { | ||
"description": "The input image data", | ||
"type": "string" |
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.
"type": "string" |
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.
Same type of input as other image tasks https://github.com/merveenoyan/huggingface.js/blob/add_ift_spec/packages/tasks/src/tasks/image-classification/spec/input.json#L8
Closing this PR since widgets are moved back |
cc @osanseviero as discussed