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

FLUX: Add support for setup configuration to publish module #1096

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

madroidmaq
Copy link
Contributor

@madroidmaq madroidmaq commented Nov 7, 2024

Added the setup.py configuration file, supporting download and use via pip,It can be better disseminated and can also be better referenced in other projects for secondary creation.

  • Change flux to mlx_flux
  • Add setup.py config
  • Update readme

@namin @angeloskath Let me know your opinions.

Usages

pip install mlx_flux

Image Generation:

mlx_flux.generate --model schnell \
    --n-images 1 \
    --image-size 512x1024 \
    --verbose \
    'A photo of an astronaut riding a horse on Mars.'

or

mlx_flux.txt2image --model schnell \
    --n-images 1 \
    --image-size 512x1024 \
    --verbose \
    'A photo of an astronaut riding a horse on Mars.'

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