Update main.py

pull/41/head
toshiaki1729 2023-01-03 01:12:20 +09:00
parent 16aaa2d3d7
commit 09b77d50cf
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ def on_ui_tabs():
cb_use_clip_to_prefill = gr.Checkbox(value=cfg_general.use_clip_to_prefill, label='Use BLIP')
cb_use_booru_to_prefill = gr.Checkbox(value=cfg_general.use_booru_to_prefill, label='Use DeepDanbooru')
cb_use_waifu_to_prefill = gr.Checkbox(value=cfg_general.use_waifu_to_prefill, label='Use WDv1.4 Tagger')
with gr.Accordion(label='Interrogator Settings'):
with gr.Accordion(label='Interrogator Settings', open=False):
with gr.Row():
cb_use_custom_threshold_booru = gr.Checkbox(value=cfg_general.use_custom_threshold_booru, label='Use Custom Threshold (Booru)', interactive=True)
sl_custom_threshold_booru = gr.Slider(minimum=0, maximum=1, value=cfg_general.custom_threshold_booru, step=0.01, interactive=True, label='Booru Score Threshold')