Text-to-Image
Diffusers
English
stable-diffusion
stable-diffusion-diffusers
image-to-image
aiart
anime
Instructions to use TheRafal/everything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TheRafal/everything with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TheRafal/everything", 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
|
@@ -45,7 +45,7 @@ e.g. **_1girl, white hair, blue eyes, cat ears, outdoors, city_**
|
|
| 45 |
|
| 46 |
```
|
| 47 |
git lfs install
|
| 48 |
-
git clone https://huggingface.co/TheRafal/everything
|
| 49 |
```
|
| 50 |
|
| 51 |
4. Complete
|
|
@@ -70,7 +70,7 @@ import torch
|
|
| 70 |
from torch import autocast
|
| 71 |
from diffusers import StableDiffusionPipeline
|
| 72 |
|
| 73 |
-
pipe = StableDiffusionPipeline.from_pretrained('TheRafal/everything
|
| 74 |
|
| 75 |
prompt = "masterpiece, 1girl, blonde hair, blue eyes, colorful, cumulonimbus clouds, lighting, short hair, city, hoodie, night"
|
| 76 |
with autocast("cuda"):
|
|
|
|
| 45 |
|
| 46 |
```
|
| 47 |
git lfs install
|
| 48 |
+
git clone https://huggingface.co/TheRafal/everything
|
| 49 |
```
|
| 50 |
|
| 51 |
4. Complete
|
|
|
|
| 70 |
from torch import autocast
|
| 71 |
from diffusers import StableDiffusionPipeline
|
| 72 |
|
| 73 |
+
pipe = StableDiffusionPipeline.from_pretrained('TheRafal/everything', torch_dtype=torch.float32).to('cuda')
|
| 74 |
|
| 75 |
prompt = "masterpiece, 1girl, blonde hair, blue eyes, colorful, cumulonimbus clouds, lighting, short hair, city, hoodie, night"
|
| 76 |
with autocast("cuda"):
|