Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ else:
|
|
12 |
|
13 |
# Load the Stable Diffusion 3.5 model
|
14 |
model_id = "stabilityai/stable-diffusion-3.5-large"
|
15 |
-
pipe =
|
16 |
pipe.to("cuda")
|
17 |
|
18 |
# Define the path to the LoRA model (since it's in the main directory)
|
|
|
12 |
|
13 |
# Load the Stable Diffusion 3.5 model
|
14 |
model_id = "stabilityai/stable-diffusion-3.5-large"
|
15 |
+
pipe = StableDiffusion3Pipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
16 |
pipe.to("cuda")
|
17 |
|
18 |
# Define the path to the LoRA model (since it's in the main directory)
|