Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with open('loras.json', 'r') as f:
|
|
39 |
# Initialize the base model
|
40 |
dtype = torch.bfloat16
|
41 |
base_model = "shuttleai/shuttle-jaguar"
|
42 |
-
pipe =
|
43 |
#pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")
|
44 |
torch.cuda.empty_cache()
|
45 |
|
|
|
39 |
# Initialize the base model
|
40 |
dtype = torch.bfloat16
|
41 |
base_model = "shuttleai/shuttle-jaguar"
|
42 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=dtype).to("cuda")
|
43 |
#pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taef1", torch_dtype=torch.float16).to("cuda")
|
44 |
torch.cuda.empty_cache()
|
45 |
|