Gradio: Generate AI images with LoRA support

Demo summary
The demo shows downloading a LoRA from Civitai, refreshing the Gradio UI to select it, and generating an uncensored image locally using the Z Image model.
Step-by-step
- Search for a LoRA on Civitai
- Download the LoRA file and place it inside the models/loras folder
- Click the refresh button in the Gradio UI to update the LoRA list
- Select the newly added LoRA from the dropdown
- Enter your prompt and specific trigger words
- Click the generate button
Options
- Use any LoRA available on Civitai
- Cancel a generation midway using the cancel button instead of closing the server
Watch out for
- The first generation will take longer as the model must load into memory
Tips
- Ensure you include the specific trigger words for the LoRA in your prompt
Highlights
“the quality looks pretty great, especially considering this is running fully offline”
AI Image Generator
6:570:48Generate AI images with LoRA supportCurrentThe demo shows downloading a LoRA from Civitai, refreshing the Gradio UI to select it, and generating an uncensored image locally using the Z Image model.AI Research
Gradio