Merge pull request #4913 from dtlnor/deprecated-deepdanbooru-patch
Remove cmd args requirement for deepdanbooru
This commit is contained in:
commit
a89d7f4f38
|
@ -1221,7 +1221,7 @@ def create_ui(wrap_gradio_gpu_call):
|
||||||
process_split = gr.Checkbox(label='Split oversized images')
|
process_split = gr.Checkbox(label='Split oversized images')
|
||||||
process_focal_crop = gr.Checkbox(label='Auto focal point crop')
|
process_focal_crop = gr.Checkbox(label='Auto focal point crop')
|
||||||
process_caption = gr.Checkbox(label='Use BLIP for caption')
|
process_caption = gr.Checkbox(label='Use BLIP for caption')
|
||||||
process_caption_deepbooru = gr.Checkbox(label='Use deepbooru for caption', visible=True if cmd_opts.deepdanbooru else False)
|
process_caption_deepbooru = gr.Checkbox(label='Use deepbooru for caption', visible=True)
|
||||||
|
|
||||||
with gr.Row(visible=False) as process_split_extra_row:
|
with gr.Row(visible=False) as process_split_extra_row:
|
||||||
process_split_threshold = gr.Slider(label='Split image threshold', value=0.5, minimum=0.0, maximum=1.0, step=0.05)
|
process_split_threshold = gr.Slider(label='Split image threshold', value=0.5, minimum=0.0, maximum=1.0, step=0.05)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user