Spaces:
Build error
Build error
Update app.py
Browse files
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 |
|