Instructions to use fusing/latent-diffusion-text2im-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fusing/latent-diffusion-text2im-large with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fusing/latent-diffusion-text2im-large", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#4
by adenn - opened
README.md
CHANGED
|
@@ -21,7 +21,7 @@ ldm = DiffusionPipeline.from_pretrained("fusing/latent-diffusion-text2im-large")
|
|
| 21 |
|
| 22 |
generator = torch.manual_seed(42)
|
| 23 |
|
| 24 |
-
prompt = "
|
| 25 |
image = ldm([prompt], generator=generator, eta=0.3, guidance_scale=6.0, num_inference_steps=50)
|
| 26 |
|
| 27 |
image_processed = image.cpu().permute(0, 2, 3, 1)
|
|
|
|
| 21 |
|
| 22 |
generator = torch.manual_seed(42)
|
| 23 |
|
| 24 |
+
prompt = "a dog"
|
| 25 |
image = ldm([prompt], generator=generator, eta=0.3, guidance_scale=6.0, num_inference_steps=50)
|
| 26 |
|
| 27 |
image_processed = image.cpu().permute(0, 2, 3, 1)
|