i (#401)
This commit is contained in:
parent
7b73152fe3
commit
74b26a3cbb
@ -1 +1 @@
|
||||
version = '2.0.53'
|
||||
version = '2.0.54'
|
||||
|
3
webui.py
3
webui.py
@ -66,7 +66,8 @@ with shared.gradio_root:
|
||||
uov_input_image = gr.Image(label='Drag above image to here', source='upload', type='numpy')
|
||||
uov_method = gr.Radio(label='Method', choices=flags.uov_list, value=flags.disabled, show_label=False, container=False)
|
||||
gr.HTML('<a href="https://github.com/lllyasviel/Fooocus/discussions/390">\U0001F4D4 Document</a>')
|
||||
input_image_checkbox.change(lambda x: gr.update(visible=x), inputs=input_image_checkbox, outputs=image_input_panel, queue=False)
|
||||
input_image_checkbox.change(lambda x: gr.update(visible=x), inputs=input_image_checkbox, outputs=image_input_panel, queue=False,
|
||||
_js="(x) => {if(x){setTimeout(() => window.scrollTo({ top: window.scrollY + 500, behavior: 'smooth' }), 50);}else{setTimeout(() => window.scrollTo({ top: 0, behavior: 'smooth' }), 50);} return x}")
|
||||
|
||||
# def get_select_index(g, evt: gr.SelectData):
|
||||
# return g[evt.index]['name']
|
||||
|
Loading…
Reference in New Issue
Block a user