Skip to content

Fix set_encoder#44698

Merged
hmellor merged 1 commit intohuggingface:mainfrom
hmellor:fix-set-encoder
Mar 14, 2026
Merged

Fix set_encoder#44698
hmellor merged 1 commit intohuggingface:mainfrom
hmellor:fix-set-encoder

Conversation

@hmellor
Copy link
Member

@hmellor hmellor commented Mar 14, 2026

The typo in the elif chain meant that image and video modalidty encoders could not be set using this method.

This PR fixes the typo so that they can.

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@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.

@hmellor hmellor added this pull request to the merge queue Mar 14, 2026
Merged via the queue into huggingface:main with commit 18e377b Mar 14, 2026
28 checks passed
@hmellor hmellor deleted the fix-set-encoder branch March 14, 2026 13:42
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