Spaces:
Paused
Paused
Commit
β’
b52bfac
1
Parent(s):
d21a36f
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def run_lora(prompt, negative, weight, selected_state):
|
|
83 |
pipe.unet,
|
84 |
for_inference=True,
|
85 |
)
|
86 |
-
lora_model.apply_to(pipe.text_encoder, pipe.unet)
|
87 |
lora_model = lora_model.to("cuda")
|
|
|
88 |
|
89 |
last_merged = True
|
90 |
|
|
|
83 |
pipe.unet,
|
84 |
for_inference=True,
|
85 |
)
|
|
|
86 |
lora_model = lora_model.to("cuda")
|
87 |
+
lora_model.apply_to(pipe.text_encoder, pipe.unet)
|
88 |
|
89 |
last_merged = True
|
90 |
|