Skip to content

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

@shsmad

Description

@shsmad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions