Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 9 |
dtype = torch.float16
|
| 10 |
|
| 11 |
repo = "stabilityai/stable-diffusion-3-medium-diffusers"
|
| 12 |
-
pipe = StableDiffusion3Pipeline.from_pretrained(repo
|
| 13 |
|
| 14 |
MAX_SEED = np.iinfo(np.int32).max
|
| 15 |
MAX_IMAGE_SIZE = 1344
|
|
|
|
| 9 |
dtype = torch.float16
|
| 10 |
|
| 11 |
repo = "stabilityai/stable-diffusion-3-medium-diffusers"
|
| 12 |
+
pipe = StableDiffusion3Pipeline.from_pretrained(repo).to(device)
|
| 13 |
|
| 14 |
MAX_SEED = np.iinfo(np.int32).max
|
| 15 |
MAX_IMAGE_SIZE = 1344
|