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

hardcoded paths #3

Open
nagolinc opened this issue Sep 4, 2024 · 3 comments
Open

hardcoded paths #3

nagolinc opened this issue Sep 4, 2024 · 3 comments

Comments

@nagolinc
Copy link

nagolinc commented Sep 4, 2024

paths to models are hard-coded (e.g. https://github.com/feizc/FluxMusic/blob/main/sample.py#L57)

maybe we can fetch these from huggingface automatically or provide an option to specify where they are on the user's computer?

@painebenjamin
Copy link

painebenjamin commented Sep 4, 2024

Hello,

I made this change in a fork, along with a few enhancements to reduce memory for my own evaluation purposes. You can copy them or just check out the fork:

Fork: https://github.com/painebenjamin/FluxMusic
Diff: main...painebenjamin:FluxMusic:main

Just run the script the same way suggested in this repo, i.e. python sample.py --version giant --prompt_file config/example.txt. It'll download all the necessary files.

@feizc
Copy link
Owner

feizc commented Sep 5, 2024

Thanks for advice, I will clean the code as soon as possible :)

@eftSharptooth
Copy link

@painebenjamin I have tried your fork, works great. Worth submitting a pull request so it can be incorporated into the repo.

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

No branches or pull requests

4 participants