wangfuyun commited on
Commit
baf4389
·
verified ·
1 Parent(s): 4af2baf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -174,10 +174,6 @@ class AnimateController:
174
  **OmegaConf.to_container(self.inference_config.noise_scheduler_kwargs))
175
  ).to("cuda")
176
 
177
- if self.lora_model_state_dict != {}:
178
- pipeline = convert_lora(
179
- pipeline, self.lora_model_state_dict, alpha=lora_alpha_slider)
180
-
181
  pipeline.unet = convert_lcm_lora(copy.deepcopy(
182
  self.unet), self.lcm_lora_path, spatial_lora_slider)
183
 
 
174
  **OmegaConf.to_container(self.inference_config.noise_scheduler_kwargs))
175
  ).to("cuda")
176
 
 
 
 
 
177
  pipeline.unet = convert_lcm_lora(copy.deepcopy(
178
  self.unet), self.lcm_lora_path, spatial_lora_slider)
179