feat: add config for default_uov_method

This commit is contained in:
Manuel Schmid
2024-07-27 20:42:54 +02:00
parent 30c0d8f282
commit f5906f27a0
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ with shared.gradio_root:
with gr.Column():
uov_input_image = grh.Image(label='Image', source='upload', type='numpy', show_label=False)
with gr.Column():
uov_method = gr.Radio(label='Upscale or Variation:', choices=flags.uov_list, value=flags.disabled)
uov_method = gr.Radio(label='Upscale or Variation:', choices=flags.uov_list, value=modules.config.default_uov_method)
gr.HTML('<a href="https://github.com/lllyasviel/Fooocus/discussions/390" target="_blank">\U0001F4D4 Documentation</a>')
with gr.TabItem(label='Image Prompt') as ip_tab:
with gr.Row():