Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use ekshat/Stable_Diffussion_Naruto_Style with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ekshat/Stable_Diffussion_Naruto_Style with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Naruto_Style", 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
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -28,6 +28,8 @@ from diffusers import DiffusionPipeline
|
|
| 28 |
import torch
|
| 29 |
|
| 30 |
pipeline = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Anime_Style", torch_dtype=torch.float16)
|
|
|
|
|
|
|
| 31 |
prompt = "A person with blue eyes."
|
| 32 |
image = pipeline(prompt).images[0]
|
| 33 |
image.save("my_image.png")
|
|
|
|
| 28 |
import torch
|
| 29 |
|
| 30 |
pipeline = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Anime_Style", torch_dtype=torch.float16)
|
| 31 |
+
pipeline = pipeline.to("cuda")
|
| 32 |
+
|
| 33 |
prompt = "A person with blue eyes."
|
| 34 |
image = pipeline(prompt).images[0]
|
| 35 |
image.save("my_image.png")
|