hnmr293 / posex

Posex - Estimated Image Generator for Pose2Image
581 stars 72 forks source link

BUG AttributeError: module 'gradio.components' has no attribute 'IOComponent' #47

Open shsmad opened 3 months ago

shsmad commented 3 months ago

After latest update of stable diffusion got an error:

*** Error loading script: posex.py
    Traceback (most recent call last):
      File "/stablediff/stable-diffusion-webui-forge/modules/scripts.py", line 525, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/stablediff/stable-diffusion-webui-forge/modules/script_loading.py", line 13, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "/stablediff/stable-diffusion-webui-forge/extensions/posex/scripts/posex.py", line 106, in <module>
        sink: gr.components.IOComponent,
    AttributeError: module 'gradio.components' has no attribute 'IOComponent'

gradio 4.39.0