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 ·
ff684f5
1
Parent(s): 27cdfe1
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#17)
Browse files- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (3ac974a3afd837578b8ad6c62cb5b8d6f2366290)
Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>
- model_index.json +1 -1
model_index.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"_diffusers_version": "0.8.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
-
"
|
| 7 |
],
|
| 8 |
"safety_checker": [
|
| 9 |
"stable_diffusion",
|
|
|
|
| 3 |
"_diffusers_version": "0.8.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
+
"CLIPImageProcessor"
|
| 7 |
],
|
| 8 |
"safety_checker": [
|
| 9 |
"stable_diffusion",
|