multimodalart HF Staff commited on
Commit
caebab4
·
verified ·
1 Parent(s): 724710e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -88,6 +88,8 @@ pipe.load_lora_weights(
88
  weight_name="flux.2-turbo-lora.safetensors"
89
  )
90
  pipe.fuse_lora()
 
 
91
  pipe.to(device)
92
 
93
  # Pull pre-compiled Flux2 Transformer blocks from HF hub
 
88
  weight_name="flux.2-turbo-lora.safetensors"
89
  )
90
  pipe.fuse_lora()
91
+ pipe.unload_lora_weights()
92
+
93
  pipe.to(device)
94
 
95
  # Pull pre-compiled Flux2 Transformer blocks from HF hub