Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,8 @@ import spaces
|
|
| 8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 9 |
dtype = torch.float16
|
| 10 |
|
| 11 |
-
model_file = "https://huggingface.co/silveroxides/sd3-safetensors/blob/main/
|
| 12 |
-
pipe = StableDiffusion3Pipeline.from_single_file(model_file, torch_dtype=torch.float16
|
| 13 |
|
| 14 |
MAX_SEED = np.iinfo(np.int32).max
|
| 15 |
MAX_IMAGE_SIZE = 1536
|
|
|
|
| 8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 9 |
dtype = torch.float16
|
| 10 |
|
| 11 |
+
model_file = "https://huggingface.co/silveroxides/sd3-safetensors/blob/main/sd3_medium_XYembmod_incl_creativeclips_flanT5xxl_fp8.safetensors"
|
| 12 |
+
pipe = StableDiffusion3Pipeline.from_single_file(model_file, torch_dtype=torch.float16).to(device)
|
| 13 |
|
| 14 |
MAX_SEED = np.iinfo(np.int32).max
|
| 15 |
MAX_IMAGE_SIZE = 1536
|