Spaces:
Sleeping
Sleeping
_Noxty
commited on
Update app.py
Browse files
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.
|
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.
|
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)
|