Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,6 @@ ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
|
36 |
|
37 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
38 |
|
39 |
-
# VAE modelini yükle
|
40 |
-
vae = AutoencoderKL.from_pretrained(vae_path, torch_dtype=torch.float16)
|
41 |
-
|
42 |
pipe = StableDiffusionPipeline.from_single_file(
|
43 |
"https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/tachyon.safetensors",
|
44 |
torch_dtype=torch.float16,
|
|
|
36 |
|
37 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
38 |
|
|
|
|
|
|
|
39 |
pipe = StableDiffusionPipeline.from_single_file(
|
40 |
"https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/tachyon.safetensors",
|
41 |
torch_dtype=torch.float16,
|