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

Prepare for 0.30 #2878

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Prepare for 0.30 #2878

merged 1 commit into from
Feb 20, 2025

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Feb 19, 2025

Follow-up PR after https://github.com/huggingface/huggingface_hub/releases/tag/v0.29.0

Breaking change in InferenceClient: labels has been removed from zero_shot_classification and zero_shot_image_classification tasks in favor of candidate_labels. There has been a proper deprecation warning for that.

I've also updated _webhooks_server.py to make type annotation work with latest gradio version (an url that could be None in theory but cannot in practice => let's still explicitly raise if that ever happen). Webhook server is an experimental feature anyway.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

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

thank you @Wauplin!

@hanouticelina hanouticelina merged commit 290aa26 into main Feb 20, 2025
19 checks passed
@hanouticelina hanouticelina deleted the prepare-for-0.30 branch February 20, 2025 14:52
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.

3 participants