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

Add chat UI with gradio #17

Merged
merged 2 commits into from
May 5, 2024
Merged

Add chat UI with gradio #17

merged 2 commits into from
May 5, 2024

Conversation

Blaizzy
Copy link
Owner

@Blaizzy Blaizzy commented May 5, 2024

This PR adds support for gradio as the default Chat UI.

You can start it via the CLI using this command:

python -m mlx_vlm.chat_ui --model "<HF_REPO_OR_LOCAL_PATH>"

You can control temperature and max_token parameters from the UI.

Limitations:

  • No support for multiple images.
  • Chat without passing image.

Example:
Screenshot 2024-05-05 at 2 34 07 PM

@Blaizzy Blaizzy mentioned this pull request May 5, 2024
@Blaizzy Blaizzy merged commit b4cac3b into main May 5, 2024
1 check 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.

1 participant