Merge branch 'mashb1t:main' into load-upscale-strength-from-config

This commit is contained in:
blckbx
2024-02-18 11:38:01 +01:00
committed by GitHub
15 changed files with 53 additions and 37 deletions
+2 -2
View File
@@ -360,7 +360,7 @@ with shared.gradio_root:
return gr.update(value=f'<a href="file={get_current_html_path()}" target="_blank">\U0001F4DA History Log</a>')
history_link = gr.HTML()
shared.gradio_root.load(update_history_link,outputs=history_link)
shared.gradio_root.load(update_history_link, outputs=history_link, queue=False, show_progress=False)
with gr.Tab(label='Styles'):
style_sorter.try_load_sorted_styles(
@@ -796,6 +796,6 @@ shared.gradio_root.launch(
server_name=args_manager.args.listen,
server_port=args_manager.args.port,
share=args_manager.args.share,
auth=check_auth if args_manager.args.share and auth_enabled else None,
auth=check_auth if (args_manager.args.share or args_manager.args.listen) and auth_enabled else None,
blocked_paths=[constants.AUTH_FILENAME]
)