mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i (#401)
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
version = '2.0.53'
|
version = '2.0.54'
|
||||||
|
|||||||
@@ -66,7 +66,8 @@ with shared.gradio_root:
|
|||||||
uov_input_image = gr.Image(label='Drag above image to here', source='upload', type='numpy')
|
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)
|
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>')
|
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):
|
# def get_select_index(g, evt: gr.SelectData):
|
||||||
# return g[evt.index]['name']
|
# return g[evt.index]['name']
|
||||||
|
|||||||
Reference in New Issue
Block a user