Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from peft import LoraConfig, get_peft_model, PeftModel
|
|
12 |
|
13 |
huggingface_token = os.getenv("HF_TOKEN")
|
14 |
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large",
|
15 |
-
torch_dtype=torch.
|
16 |
token=huggingface_token)
|
17 |
pipe = pipe.to("cuda")
|
18 |
|
|
|
12 |
|
13 |
huggingface_token = os.getenv("HF_TOKEN")
|
14 |
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large",
|
15 |
+
torch_dtype=torch.float16,
|
16 |
token=huggingface_token)
|
17 |
pipe = pipe.to("cuda")
|
18 |
|