picobyte / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
539 stars 64 forks source link

Adapt to the new gradio version #61

Closed trojan-uma closed 10 months ago

trojan-uma commented 10 months ago

SD v1.6.0 update gradio to 3.41.2, when running SD show Warning information in booting stage

info clip(has been anonymized)

2023-09-05 19:36:06,812 - ControlNet - INFO - ControlNet v1.1.401
ControlNet preprocessor location: X:\...\extensions\sd-webui-controlnet\annotator\downloads
2023-09-05 19:36:07,221 - ControlNet - INFO - ControlNet v1.1.401
== WD14 tagger /gpu:0, uname_result(system='Windows', node='PCNAME', release='10', version='10.0.22621', machine='AMD64') ==
Loading weights [checkpoint hash] from X:\...\checkpoint.safetensors
X:\...\extensions\stable-diffusion-webui-wd14-tagger\tagger\settings.py:17: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  return gr.Slider(**kwargs)
X:\...\modules\gradio_extensons.py:25: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect
  res = original_IOComponent_init(self, *args, **kwargs)
Creating model from config: X:\...\configs\v1-inference.yaml
Running on local URL:  http://ip:port
picobyte commented 10 months ago

Thanks, It was already fixed in my local branch, forgot to push it. It's in now.