demobook

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

  1. Search for a LoRA on Civitai
  2. Download the LoRA file and place it inside the models/loras folder
  3. Click the refresh button in the Gradio UI to update the LoRA list
  4. Select the newly added LoRA from the dropdown
  5. Enter your prompt and specific trigger words
  6. 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

  1. 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