Update image_generator.py
Browse files- image_generator.py +1 -1
image_generator.py
CHANGED
|
@@ -22,7 +22,7 @@ class ImageGenerator:
|
|
| 22 |
# Using a lightweight model for image generation
|
| 23 |
from diffusers import StableDiffusionPipeline
|
| 24 |
|
| 25 |
-
model_id = "
|
| 26 |
|
| 27 |
# Load with memory optimization settings
|
| 28 |
self.model = StableDiffusionPipeline.from_pretrained(
|
|
|
|
| 22 |
# Using a lightweight model for image generation
|
| 23 |
from diffusers import StableDiffusionPipeline
|
| 24 |
|
| 25 |
+
model_id = "sd-legacy/stable-diffusion-v1-5"
|
| 26 |
|
| 27 |
# Load with memory optimization settings
|
| 28 |
self.model = StableDiffusionPipeline.from_pretrained(
|