Configure MangaNinja model weights
mainMangaNinja requires several pre-trained weights from HuggingFace (StableDiffusion, CLIP, ControlNet, and Annotators) as well as the specific MangaNinjia model weights.
Ensure your checkpoints directory follows this structure:
-- checkpoints
|-- StableDiffusion
|-- models
|-- clip-vit-large-patch14
|-- control_v11p_sd15_lineart
|-- Annotators
|-- sk_model.pth
|-- MangaNinjia
|-- denoising_unet.pth
|-- reference_unet.pth
|-- point_net.pth
|-- controlnet.pthBefore running the Gradio interface, you must modify ./configs/inference.yaml to point to the correct paths for these model weights.