Commit
·
350c67c
1
Parent(s):
e983ca8
Refactor UI structure and update image tab imports
Browse files
src/ui/tabs/images/flux.py
CHANGED
|
@@ -59,9 +59,7 @@ def flux_tab():
|
|
| 59 |
value=[(lora['image'], lora['title']) for lora in loras],
|
| 60 |
allow_preview=False,
|
| 61 |
columns=[3],
|
| 62 |
-
|
| 63 |
-
type="pil",
|
| 64 |
-
interactive=False
|
| 65 |
)
|
| 66 |
|
| 67 |
with gr.Group():
|
|
@@ -130,7 +128,7 @@ def flux_tab():
|
|
| 130 |
value=[],
|
| 131 |
allow_preview=True,
|
| 132 |
type="pil",
|
| 133 |
-
interactive=
|
| 134 |
)
|
| 135 |
generate_images = gr.Button(value="Generate Images", variant="primary")
|
| 136 |
|
|
|
|
| 59 |
value=[(lora['image'], lora['title']) for lora in loras],
|
| 60 |
allow_preview=False,
|
| 61 |
columns=[3],
|
| 62 |
+
type="pil"
|
|
|
|
|
|
|
| 63 |
)
|
| 64 |
|
| 65 |
with gr.Group():
|
|
|
|
| 128 |
value=[],
|
| 129 |
allow_preview=True,
|
| 130 |
type="pil",
|
| 131 |
+
interactive=False,
|
| 132 |
)
|
| 133 |
generate_images = gr.Button(value="Generate Images", variant="primary")
|
| 134 |
|