linoyts HF Staff commited on
Commit
07bfdfa
·
verified ·
1 Parent(s): 76c0773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -52,9 +52,9 @@ pipe.load_lora_weights(
52
  adapter_name="phantom"
53
  )
54
 
55
- pipeline.set_adapters(["phantom"], adapter_weights=[0.95])
56
- pipeline.fuse_lora(adapter_names=["phantom"], lora_scale=1.0)
57
- pipeline.unload_lora_weights()
58
 
59
 
60
  optimize_pipeline_(pipe,
 
52
  adapter_name="phantom"
53
  )
54
 
55
+ pipe.set_adapters(["phantom"], adapter_weights=[0.95])
56
+ pipe.fuse_lora(adapter_names=["phantom"], lora_scale=1.0)
57
+ pipe.unload_lora_weights()
58
 
59
 
60
  optimize_pipeline_(pipe,