Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ from diffusers import DiffusionPipeline
|
|
6 |
import torch
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
-
|
|
|
10 |
|
11 |
if torch.cuda.is_available():
|
12 |
torch_dtype = torch.bfloat16
|
|
|
6 |
import torch
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
+
|
10 |
+
model_repo_id = "stabilityai/stable-diffusion-3-medium-diffusers"
|
11 |
|
12 |
if torch.cuda.is_available():
|
13 |
torch_dtype = torch.bfloat16
|