Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -86,9 +86,9 @@ pipe.to(device=device, dtype=torch.bfloat16)
|
|
86 |
#pipe.to(device)
|
87 |
pipe.vae=vaeX.to('cpu')
|
88 |
|
89 |
-
text_encoder=CLIPTextModelWithProjection.from_pretrained("ford442/stable-diffusion-3.5-large-bf16", subfolder='text_encoder',
|
90 |
-
text_encoder_2=CLIPTextModelWithProjection.from_pretrained("ford442/stable-diffusion-3.5-large-bf16", subfolder='text_encoder_2',
|
91 |
-
text_encoder_3=T5EncoderModel.from_pretrained("ford442/stable-diffusion-3.5-large-bf16", subfolder='text_encoder_3',
|
92 |
|
93 |
upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to('cpu') #.to(device)
|
94 |
|
|
|
86 |
#pipe.to(device)
|
87 |
pipe.vae=vaeX.to('cpu')
|
88 |
|
89 |
+
text_encoder=CLIPTextModelWithProjection.from_pretrained("ford442/stable-diffusion-3.5-large-bf16", subfolder='text_encoder', token=True).to(device=device, dtype=torch.bfloat16)
|
90 |
+
text_encoder_2=CLIPTextModelWithProjection.from_pretrained("ford442/stable-diffusion-3.5-large-bf16", subfolder='text_encoder_2',token=True).to(device=device, dtype=torch.bfloat16)
|
91 |
+
text_encoder_3=T5EncoderModel.from_pretrained("ford442/stable-diffusion-3.5-large-bf16", subfolder='text_encoder_3',token=True).to(device=device, dtype=torch.bfloat16)
|
92 |
|
93 |
upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to('cpu') #.to(device)
|
94 |
|