Video to follow, for now please follow instructions below
Warning
You cannot run this while training is still ongoing.
Note
Option 1: If you are using the same runpod for training and generation, follow this instruction
Start the gradio interface using the following command:
./gen.sh
Note
Option 2: If your are NOT using the same runpod for training and generation, follow this instruction.
-
Setup the workspace by running following command:
curl -s https://geocine.github.io/flux/gen.sh | sh
-
Paste your huggingface token on the
token
file. -
Start the gradio interface using the following command:
python inference.py
Upload your LoRA file to the /workspace/output/lora
folder. If you need to, else you can just use the existing LoRA files.
Note
First generation will be slower since it requires to load the model into the VRAM. The subsequent generations will be faster.
- You will get a URL to access the Gradio interface.
- Enter a prompt and click generate.
- Your files will be saved to the
/workspace/output/generations
folder.