barreloflube commited on
Commit
e983ca8
1 Parent(s): ed6eb6d

Refactor UI structure and add interactive image tab

Browse files
Files changed (1) hide show
  1. src/ui/tabs/images/flux.py +3 -1
src/ui/tabs/images/flux.py CHANGED
@@ -61,6 +61,7 @@ def flux_tab():
61
  columns=[3],
62
  rows=[2],
63
  type="pil",
 
64
  )
65
 
66
  with gr.Group():
@@ -492,6 +493,7 @@ def generate_image(
492
 
493
  return (
494
  gr.update(
495
- value=images
 
496
  )
497
  )
 
61
  columns=[3],
62
  rows=[2],
63
  type="pil",
64
+ interactive=False
65
  )
66
 
67
  with gr.Group():
 
493
 
494
  return (
495
  gr.update(
496
+ value=images,
497
+ interactive=True
498
  )
499
  )