Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
edb56d6
1
Parent(s):
b47a127
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance
|
|
28 |
generator = torch.Generator().manual_seed(seed)
|
29 |
pipe.unload_lora_weights()
|
30 |
|
31 |
-
if lora_model
|
32 |
pipe.load_lora_weights(lora_model)
|
33 |
|
34 |
image = pipe(
|
|
|
28 |
generator = torch.Generator().manual_seed(seed)
|
29 |
pipe.unload_lora_weights()
|
30 |
|
31 |
+
if lora_model:
|
32 |
pipe.load_lora_weights(lora_model)
|
33 |
|
34 |
image = pipe(
|