Skip to content

Not working in Forge #59

@schoenid

Description

@schoenid

The extension throws errors and is not displaying it's tab.

Copy from Console:

*** Error executing callback ui_tabs_callback for G:\SD\Packages\Stable Diffusion WebUI Forge\extensions\PBRemTools\scripts\main.py
    Traceback (most recent call last):
      File "G:\SD\Packages\Stable Diffusion WebUI Forge\modules\script_callbacks.py", line 283, in ui_tabs_callback
        res += c.callback() or []
      File "G:\SD\Packages\Stable Diffusion WebUI Forge\extensions\PBRemTools\scripts\main.py", line 15, in on_ui_tabs
        batch_image = gr.File(label="Batch Images", file_count="multiple", interactive=True, type="file")
      File "G:\SD\Packages\Stable Diffusion WebUI Forge\modules\gradio_extensions.py", line 147, in __repaired_init__
        original(self, *args, **fixed_kwargs)
      File "G:\SD\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
        return fn(self, **kwargs)
      File "G:\SD\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\file.py", line 98, in __init__
        raise ValueError(
    ValueError: Invalid value for parameter `type`: file. Please choose from one of: ['filepath', 'binary']

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