Merge pull request #47 from sunnyark/classification

Update sc_browser_page.py
pull/51/head
sunnyark 2023-07-18 20:20:55 +09:00 committed by GitHub
commit e4e3a7bc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def on_ui():
with gr.Accordion("Search", open=True):
shortcut_type = gr.Dropdown(label='Filter Model Type', multiselect=True, choices=[k for k in setting.ui_typenames], interactive=True)
sc_search = gr.Textbox(label="Search", value="", placeholder="Search name, #tags, ....",interactive=True, lines=1)
sc_classification_list = gr.Dropdown(label='Classification', multiselect=True, choices=classification.get_list(), interactive=True)
sc_classification_list = gr.Dropdown(label='Classification',info="The selection options of classification are subject to the AND operation.", multiselect=True, choices=classification.get_list(), interactive=True)
shortcut_basemodel = gr.Dropdown(label='Filter Model BaseModel', multiselect=True, choices=[k for k in setting.model_basemodels], interactive=True)
show_only_downloaded_sc = gr.Checkbox(label="Show downloaded model's shortcut only", value=False)
sc_gallery_page = gr.Slider(minimum=1, maximum=thumb_max_page, value=1, step=1, label=f"Total {thumb_max_page} Pages", interactive=True, visible=True if setting.shortcut_count_per_page > 0 else False)