Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ import torch
|
|
4 |
from diffusers import StableDiffusion3Pipeline, SD3LoraLoaderMixin
|
5 |
import spaces
|
6 |
import random
|
|
|
|
|
7 |
|
8 |
# Device selection
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
4 |
from diffusers import StableDiffusion3Pipeline, SD3LoraLoaderMixin
|
5 |
import spaces
|
6 |
import random
|
7 |
+
from diffusers.loaders import SD3LoraLoaderMixin
|
8 |
+
|
9 |
|
10 |
# Device selection
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|