A project utilizing Black Forest Lab's FLUX model for generating images via a web application.
-
Hugging Face Access Token:
- You need to request access to the FLUX model: Black Forest Labs
- Once you have access, obtain your Hugging Face token.
-
Environment Setup:
- Add your Hugging Face token to an
.env
file at the root of the project. Your.env
file should look like this:HF_TOKEN=your_token_here
- Add your Hugging Face token to an
Follow these steps to set up the environment and run the application:
-
Run the setup script:
- Double-click on the file
start_flux.bat
to install the necessary environment and dependencies, and to run the script.
./start_flux.bat
- Double-click on the file
-
Open Web Browser:
- View the web app at http://localhost:7860/