Skip to content

Conversation

HairlessVillager
Copy link
Contributor

Hello! Although returning an Exception is grammatically possible, based on the context, it should be raising this Exception. I guess there might have been an accidental mistake here, so I corrected it.

Copy link
Member

@albertvillanova albertvillanova left a comment

Choose a reason for hiding this comment

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

Thanks! Good catch!

@albertvillanova albertvillanova merged commit 6826823 into huggingface:main Jul 29, 2025
3 checks passed
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.

2 participants