Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1232,7 +1232,7 @@ def generate_audio_elevenlabs(text):
|
|
1232 |
return None
|
1233 |
|
1234 |
# Stable Diffusion setup
|
1235 |
-
pipe =
|
1236 |
pipe = pipe.to("cuda")
|
1237 |
|
1238 |
def generate_image(prompt):
|
|
|
1232 |
return None
|
1233 |
|
1234 |
# Stable Diffusion setup
|
1235 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16)
|
1236 |
pipe = pipe.to("cuda")
|
1237 |
|
1238 |
def generate_image(prompt):
|