AlekseyCalvin commited on
Commit
bbb1ce8
·
verified ·
1 Parent(s): 9b32d4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = FluxTransformer2DModel.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
 
 
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