|
--- |
|
license: creativeml-openrail-m |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
--- |
|
### islamicdiffusion Dreambooth model trained by Falah with [TheLastBen's fast-DreamBooth](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb) notebook |
|
|
|
|
|
Test the concept via A1111 Colab [fast-Colab-A1111](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb) |
|
|
|
Sample pictures of this concept: |
|
|
|
|
|
### 🧨 Diffusers |
|
|
|
This model can be used just like any other Stable Diffusion model. For more information, |
|
please have a look at the [Stable Diffusion Pipeline](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). |
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
import torch |
|
model_id = "Falah/islamicdiffusion" |
|
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
prompt = "photo, a home church in the middle of a field of crops, bright cinematic lighting, gopro, fisheye lens style islamicdiffusion" |
|
image = pipe(prompt).images[0] |
|
image.save("./result.jpg") |
|
``` |
|
|
|
|