Instructions to use Falah/islamicdiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Falah/islamicdiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Falah/islamicdiffusion", 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
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ import torch
|
|
| 23 |
model_id = "Falah/islamicdiffusion"
|
| 24 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 25 |
pipe = pipe.to("cuda")
|
| 26 |
-
prompt = "photo, a home
|
| 27 |
image = pipe(prompt).images[0]
|
| 28 |
image.save("./result.jpg")
|
| 29 |
```
|
|
|
|
| 23 |
model_id = "Falah/islamicdiffusion"
|
| 24 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 25 |
pipe = pipe.to("cuda")
|
| 26 |
+
prompt = "photo, a home in the middle of a field of crops, bright cinematic lighting, gopro, fisheye lens style islamicdiffusion"
|
| 27 |
image = pipe(prompt).images[0]
|
| 28 |
image.save("./result.jpg")
|
| 29 |
```
|