_Noxty commited on
Commit
a959358
·
verified ·
1 Parent(s): 064e9bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,9 +60,9 @@ with gr.Blocks(fill_width=True, css=css) as demo:
60
  search_civitai_json = gr.JSON(value={}, visible=False)
61
  with gr.Row(equal_height=True):
62
  with gr.Column(scale=9):
63
- with gr.Accordion("Select from Gallery", open=False):
64
  search_civitai_gallery = gr.Gallery([], label="Results", allow_preview=False, columns=5, elem_id="gallery", show_share_button=False, interactive=False)
65
- with gr.Accordion("Select by Checkbox", open=False):
66
  search_civitai_result_checkbox = gr.CheckboxGroup(label="", choices=[], value=[])
67
  search_civitai_result = gr.Dropdown(label="Search Results", choices=[("", "")], value=[],
68
  allow_custom_value=True, visible=True, multiselect=True)
 
60
  search_civitai_json = gr.JSON(value={}, visible=False)
61
  with gr.Row(equal_height=True):
62
  with gr.Column(scale=9):
63
+ with gr.TabItem("Select from Gallery"):
64
  search_civitai_gallery = gr.Gallery([], label="Results", allow_preview=False, columns=5, elem_id="gallery", show_share_button=False, interactive=False)
65
+ with gr.TabItem("Select by Checkbox"):
66
  search_civitai_result_checkbox = gr.CheckboxGroup(label="", choices=[], value=[])
67
  search_civitai_result = gr.Dropdown(label="Search Results", choices=[("", "")], value=[],
68
  allow_custom_value=True, visible=True, multiselect=True)