Instructions to use FrozenScar/cartoon_face with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FrozenScar/cartoon_face with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FrozenScar/cartoon_face", torch_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
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,10 +12,11 @@ tags:
|
|
| 12 |
|
| 13 |
Generates faces resembling Metart Dataset.
|
| 14 |
|
|
|
|
|
|
|
| 15 |
USAGE:
|
| 16 |
|
| 17 |
from diffusers import DiffusionPipeline, DDPMPipeline, DDPMScheduler
|
| 18 |
noise_scheduler = DDPMScheduler()
|
| 19 |
pipe = DDPMPipeline.from_pretrained("FrozenScar/cartoon_face", scheduler=noise_scheduler, use_safetensors=True)
|
| 20 |
-
image = pipe(num_inference_steps=6).images[0]
|
| 21 |
-

|
|
|
|
| 12 |
|
| 13 |
Generates faces resembling Metart Dataset.
|
| 14 |
|
| 15 |
+

|
| 16 |
+
|
| 17 |
USAGE:
|
| 18 |
|
| 19 |
from diffusers import DiffusionPipeline, DDPMPipeline, DDPMScheduler
|
| 20 |
noise_scheduler = DDPMScheduler()
|
| 21 |
pipe = DDPMPipeline.from_pretrained("FrozenScar/cartoon_face", scheduler=noise_scheduler, use_safetensors=True)
|
| 22 |
+
image = pipe(num_inference_steps=6).images[0]
|
|
|