Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def generate_images_using_huggingface_diffusers(text):
|
|
| 29 |
from diffusers import DiffusionPipeline
|
| 30 |
|
| 31 |
pipe = DiffusionPipeline.from_pretrained("sd-legacy/stable-diffusion-v1-5")
|
| 32 |
-
|
| 33 |
# pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", torch_dtype=torch.float32)
|
| 34 |
# pipe = pipe.to("cuda")
|
| 35 |
pipe = pipe.to(accelerator.device)
|
|
|
|
| 29 |
from diffusers import DiffusionPipeline
|
| 30 |
|
| 31 |
pipe = DiffusionPipeline.from_pretrained("sd-legacy/stable-diffusion-v1-5")
|
| 32 |
+
|
| 33 |
# pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", torch_dtype=torch.float32)
|
| 34 |
# pipe = pipe.to("cuda")
|
| 35 |
pipe = pipe.to(accelerator.device)
|