Skip to content
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

Allow specifying data with the Inference API wrapper #271

Merged
merged 2 commits into from Sep 9, 2021

Conversation

osanseviero
Copy link
Member

This is required to be able to make inference with images and audios.

@osanseviero
Copy link
Member Author

Friendly ping @LysandreJik :)

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

The only remark I would have would be relative to the fixtures you introduce in the tests (plane.jpg and sample1.flac) which would weigh down the repo in case of a clone.

Would it be possible to host them either on a CDN or in a dataset?

@Narsil
Copy link
Contributor

Narsil commented Sep 9, 2021

dataset = datasets.load_dataset("Narsil/image_dummy", "image", split="test") contains them https://huggingface.co/datasets/Narsil/image_dummy/tree/main

@osanseviero osanseviero merged commit 66f869f into main Sep 9, 2021
@osanseviero osanseviero deleted the inference_wrapper branch September 9, 2021 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants