Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
b4300b3
1
Parent(s):
f0e89fe
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,6 @@ def run_lora(prompt, negative, weight, selected_state):
|
|
83 |
for_inference=True,
|
84 |
)
|
85 |
lora_model.apply_to(pipe.text_encoder, pipe.unet) #is apply too all you need?
|
86 |
-
pipe.to(device)
|
87 |
last_merged = True
|
88 |
|
89 |
image = pipe(
|
|
|
83 |
for_inference=True,
|
84 |
)
|
85 |
lora_model.apply_to(pipe.text_encoder, pipe.unet) #is apply too all you need?
|
|
|
86 |
last_merged = True
|
87 |
|
88 |
image = pipe(
|