linoyts HF Staff commited on
Commit
d9a00ff
·
verified ·
1 Parent(s): d5984e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ pipeline.load_lora_weights(
58
  weight_name=CONTROL_LORAS["canny"]["weight_name"],
59
  adapter_name=CONTROL_LORAS["canny"]["adapter_name"]
60
  )
61
- pipeline.set_adapters([lora_config["adapter_name"]], adapter_weights=[1.0])
62
 
63
  @spaces.GPU()
64
  def read_video(video) -> torch.Tensor:
 
58
  weight_name=CONTROL_LORAS["canny"]["weight_name"],
59
  adapter_name=CONTROL_LORAS["canny"]["adapter_name"]
60
  )
61
+ pipeline.set_adapters([CONTROL_LORAS["canny"]["adapter_name"]], adapter_weights=[1.0])
62
 
63
  @spaces.GPU()
64
  def read_video(video) -> torch.Tensor: