Spaces:
Runtime error
Runtime error
Commit
β’
fd8e800
1
Parent(s):
3c5ded1
Update app.py
Browse files
app.py
CHANGED
@@ -60,10 +60,10 @@ def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, wid
|
|
60 |
joint_attention_kwargs={"scale": lora_scale},
|
61 |
).images[0]
|
62 |
|
63 |
-
|
|
|
64 |
pipe.unload_lora_weights()
|
65 |
-
|
66 |
-
return image
|
67 |
|
68 |
'''
|
69 |
#gen_column{height: 100%}
|
|
|
60 |
joint_attention_kwargs={"scale": lora_scale},
|
61 |
).images[0]
|
62 |
|
63 |
+
yield image
|
64 |
+
|
65 |
pipe.unload_lora_weights()
|
66 |
+
|
|
|
67 |
|
68 |
'''
|
69 |
#gen_column{height: 100%}
|