Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
44b22a2
1
Parent(s):
1f60436
rever to pr (#5)
Browse files- rever to pr (400bfc87e8ca58c028a4482f705d6f67a721a324)
Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>
app.py
CHANGED
@@ -8,9 +8,8 @@ import spaces
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
dtype = torch.float16
|
10 |
|
11 |
-
repo = "stabilityai/stable-diffusion-3-medium
|
12 |
-
|
13 |
-
pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16).to(device)
|
14 |
|
15 |
MAX_SEED = np.iinfo(np.int32).max
|
16 |
MAX_IMAGE_SIZE = 1344
|
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
dtype = torch.float16
|
10 |
|
11 |
+
repo = "stabilityai/stable-diffusion-3-medium"
|
12 |
+
pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16, revision="refs/pr/26").to(device)
|
|
|
13 |
|
14 |
MAX_SEED = np.iinfo(np.int32).max
|
15 |
MAX_IMAGE_SIZE = 1344
|