mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-09 07:00:22 +00:00
gradio 3.41.2 attempt
This commit is contained in:
@@ -32,8 +32,8 @@ from modules.generation_parameters_copypaste import image_from_url_text
|
||||
|
||||
create_setting_component = ui_settings.create_setting_component
|
||||
|
||||
warnings.filterwarnings("default" if opts.show_warnings else "ignore", category=UserWarning)
|
||||
warnings.filterwarnings("default" if opts.show_gradio_deprecation_warnings else "ignore", category=gr.deprecation.GradioDeprecationWarning)
|
||||
# warnings.filterwarnings("default" if opts.show_warnings else "ignore", category=UserWarning)
|
||||
# warnings.filterwarnings("default" if opts.show_gradio_deprecation_warnings else "ignore", category=gr.deprecation.GradioDeprecationWarning)
|
||||
|
||||
# this is a fix for Windows users. Without it, javascript files will be served with text/html content-type and the browser will not show any UI
|
||||
mimetypes.init()
|
||||
|
||||
Reference in New Issue
Block a user