chansung commited on
Commit
f10dab4
β€’
1 Parent(s): a722e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -58,7 +58,7 @@ with gr.Blocks(css=STYLE) as demo:
58
  with gr.Column(visible=False) as character_setup_phase:
59
  gr.Markdown("# πŸ‘₯ Character setup")
60
  gr.Markdown(desc.character_setup_phase_description, elem_classes=["markdown-justify"])
61
- with Tab("Main character"):
62
  with gr.Column():
63
  gr.Checkbox(label="character include/enable", value=True, interactive=False)
64
  char_gallery1 = gr.Gallery(value=default_character_images, height=256, preview=True)
@@ -90,7 +90,7 @@ with gr.Blocks(css=STYLE) as demo:
90
 
91
  gen_char_btn1 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
92
 
93
- with Tab("Side character 1"):
94
  with gr.Column():
95
  side_char_enable_ckb1 = gr.Checkbox(label="character include/enable", value=False)
96
  char_gallery2 = gr.Gallery(value=default_character_images, height=256, preview=True)
@@ -122,7 +122,7 @@ with gr.Blocks(css=STYLE) as demo:
122
 
123
  gen_char_btn2 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
124
 
125
- with Tab("Side character 2"):
126
  with gr.Column():
127
  side_char_enable_ckb2 = gr.Checkbox(label="character include/enable", value=False)
128
  char_gallery3 = gr.Gallery(value=default_character_images, height=256, preview=True)
@@ -154,7 +154,7 @@ with gr.Blocks(css=STYLE) as demo:
154
 
155
  gen_char_btn3 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
156
 
157
- with Tab("Side character 3"):
158
  with gr.Column():
159
  side_char_enable_ckb3 = gr.Checkbox(label="character include/enable", value=False)
160
  char_gallery4 = gr.Gallery(value=default_character_images, height=256, preview=True)
 
58
  with gr.Column(visible=False) as character_setup_phase:
59
  gr.Markdown("# πŸ‘₯ Character setup")
60
  gr.Markdown(desc.character_setup_phase_description, elem_classes=["markdown-justify"])
61
+ with gr.Tab("Main character"):
62
  with gr.Column():
63
  gr.Checkbox(label="character include/enable", value=True, interactive=False)
64
  char_gallery1 = gr.Gallery(value=default_character_images, height=256, preview=True)
 
90
 
91
  gen_char_btn1 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
92
 
93
+ with gr.Tab("Side character 1"):
94
  with gr.Column():
95
  side_char_enable_ckb1 = gr.Checkbox(label="character include/enable", value=False)
96
  char_gallery2 = gr.Gallery(value=default_character_images, height=256, preview=True)
 
122
 
123
  gen_char_btn2 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
124
 
125
+ with gr.Tab("Side character 2"):
126
  with gr.Column():
127
  side_char_enable_ckb2 = gr.Checkbox(label="character include/enable", value=False)
128
  char_gallery3 = gr.Gallery(value=default_character_images, height=256, preview=True)
 
154
 
155
  gen_char_btn3 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
156
 
157
+ with gr.Tab("Side character 3"):
158
  with gr.Column():
159
  side_char_enable_ckb3 = gr.Checkbox(label="character include/enable", value=False)
160
  char_gallery4 = gr.Gallery(value=default_character_images, height=256, preview=True)