ehristoforu commited on
Commit
61cd670
·
verified ·
1 Parent(s): d1bba2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,8 +44,8 @@ if torch.cuda.is_available():
44
  pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
45
  pipe.to(device)
46
  print("Loaded on Device!")
47
- pipe.load_lora_weights("stabilityai/stable-diffusion-xl-base-1.0", weight_name="sd_xl_offset_example-lora_1.0.safetensors")
48
- pipe.fuse_lora(lora_scale=0.1)
49
  if USE_TORCH_COMPILE:
50
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
51
  print("Model Compiled!")
 
44
  pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
45
  pipe.to(device)
46
  print("Loaded on Device!")
47
+ #pipe.load_lora_weights("stabilityai/stable-diffusion-xl-base-1.0", weight_name="sd_xl_offset_example-lora_1.0.safetensors")
48
+ #pipe.fuse_lora(lora_scale=0.1)
49
  if USE_TORCH_COMPILE:
50
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
51
  print("Model Compiled!")