Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ model_path = snapshot_download(
|
|
23 |
# Load the Stable Diffusion model
|
24 |
repo = "stabilityai/stable-diffusion-3-medium-diffusers"
|
25 |
#image_gen = StableDiffusion3Pipeline.from_pretrained(repo, text_encoder_3=None, tokenizer_3=None, use_auth_token=huggingface_token)
|
26 |
-
image_gen = StableDiffusion3Pipeline.from_pretrained(
|
27 |
|
28 |
#pipe = StableDiffusion3Pipeline.from_pretrained(model_path, torch_dtype=torch.float16)
|
29 |
|
|
|
23 |
# Load the Stable Diffusion model
|
24 |
repo = "stabilityai/stable-diffusion-3-medium-diffusers"
|
25 |
#image_gen = StableDiffusion3Pipeline.from_pretrained(repo, text_encoder_3=None, tokenizer_3=None, use_auth_token=huggingface_token)
|
26 |
+
image_gen = StableDiffusion3Pipeline.from_pretrained(model_path, text_encoder_3=None, tokenizer_3=None,torch_dtype=torch.float16)
|
27 |
|
28 |
#pipe = StableDiffusion3Pipeline.from_pretrained(model_path, torch_dtype=torch.float16)
|
29 |
|