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

Fix HuggingFace Chat UI #6353

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

Papierkorb
Copy link
Contributor

HuggingFace Chat UI sends a multi-modal style request with only a single "text" element. However, our code required both an image and the text, breaking support for HuggingFace Chat UI. This change relaxes this requirement on our end, allowing a single "text" or "image_url" as well.

This fixes #6299

HuggingFace Chat UI sends a multi-modal style request with only a
single "text" element. However, our code required both an image and
the text, breaking support for HuggingFace Chat UI. This change relaxes
this requirement on our end, allowing a single "text" or "image_url"
as well.
@oobabooga
Copy link
Owner

Thanks @Papierkorb

@oobabooga oobabooga merged commit 9a150c3 into oobabooga:dev Sep 3, 2024
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