w-e-w / sd-webui-nudenet-nsfw-censor

NSFW regions censoring using NudeNet for Stable Diffusion Web UI
GNU Affero General Public License v3.0
79 stars 15 forks source link

Gradio Deprecation Warning #19

Open tilkinsc opened 3 months ago

tilkinsc commented 3 months ago
C:\Users\Matrix\forge\webui\extensions\sd-webui-nudenet-nsfw-censor\scripts\nudenet_nsfw_censor_scripts\post_processing_script.py:64: GradioDeprecationWarning: unexpected argument for Image: tool
  input_mask = gr.Image(
C:\Users\Matrix\forge\webui\extensions\sd-webui-nudenet-nsfw-censor\scripts\nudenet_nsfw_censor_scripts\post_processing_script.py:64: GradioDeprecationWarning: unexpected argument for Image: brush_color
  input_mask = gr.Image(
Model selected: {'checkpoint_info': {'filename': 'C:\\Users\\Matrix\\forge\\webui\\models\\Stable-diffusion\\photorealistic.safetensors', 'hash': '92217f64'}, 'additional_modules': [], 'unet_storage_dtype': None}
w-e-w commented 3 months ago

I'm aware of that but I don't want to fix it until AUTO decides when we are going to upgrade Graido

tilkinsc commented 3 months ago

Is this breaking?

w-e-w commented 3 months ago

of course not warnings are warnings and not error or exception deprecation warning simply means that in future versions, this will not be supported

also what version webui 1.10.1 with gradio 3.41.2 workls fine it doesn't even show warnings

tilkinsc commented 3 months ago

Previously I was depending on update.bat to keep me current, and now since I have run --reinstall-xformers and --reinstall-torch everything has broken down and is mega slow. I still get these warnings, and plenty of other warnings. I have another issue posted for more on that.