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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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 gr.Row():
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,6 +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 gr.Column():
94
  side_char_enable_ckb1 = gr.Checkbox(label="character include/enable", value=False)
95
  char_gallery2 = gr.Gallery(value=default_character_images, height=256, preview=True)
@@ -121,6 +122,7 @@ with gr.Blocks(css=STYLE) as demo:
121
 
122
  gen_char_btn2 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
123
 
 
124
  with gr.Column():
125
  side_char_enable_ckb2 = gr.Checkbox(label="character include/enable", value=False)
126
  char_gallery3 = gr.Gallery(value=default_character_images, height=256, preview=True)
@@ -152,6 +154,7 @@ with gr.Blocks(css=STYLE) as demo:
152
 
153
  gen_char_btn3 = gr.Button("gen character", elem_classes=["wrap", "control-button-green"])
154
 
 
155
  with gr.Column():
156
  side_char_enable_ckb3 = gr.Checkbox(label="character include/enable", value=False)
157
  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 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 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 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 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)