Instructions to use ogkalu/Comic-Diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ogkalu/Comic-Diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ogkalu/Comic-Diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey ogkalu 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(ogkalu/Comic-Diffusion)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.3ac974a
-
Add `scale_factor` to vae config. (#14)
- Add `scale_factor` to vae config. (0839610cfa74ee6343a1289873c3968220ced9f2) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>27cdfe1
-
Upload ogkalu_Comic-Diffusion · Hugging Face (#13)
- Upload ogkalu_Comic-Diffusion · Hugging Face (8b222aa1aa0ff978f2f659da4f74624b35048736) Co-authored-by: Matt <M4N0K3N@users.noreply.huggingface.co>955068e
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#9)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (c7d8f326cd8ba1e7b27f620492d1a7fe5fe4a1cd) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>13e70f2
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#7)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (2c82f802229b7ef01874eb5bcb534e5f3df4de1c) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>c0fcd8e
-
Add the text-to-image tag (also enables the Inference API widget) (#6)
- Add the text-to-image tag (also enables the Inference API widget) (ff6c6e56ffdcbc3bc59da5ea661dc5d7cd1f84e2) Co-authored-by: Multimodal AI art <multimodalart@users.noreply.huggingface.co>b0f8b76 -
Add Diffusers weights (#5)
- Add Diffusers weights (3b0b79efbdd0b0dcdba0e21df667636af05343ff) Co-authored-by: Multimodal AI art <multimodalart@users.noreply.huggingface.co>b137e00
-
Update README.md
dd385df -
Upload comic-diffusion-V2.ckpt
eefb5af -
Upload 4 files
db673e0
-
Upload comic-diffusion.ckpt
dbde226 -
Update README.md
4df9ea0 -
Update README.md
f498cd5 -
Update README.md
8955efb -
Upload 5 files
ae7fc2b -
initial commit
31c379a