Skip to content

Can you update for Haoming02's sd-webui-forge-classic? #486

@keenerb

Description

@keenerb

Python 3.13.12, using an updated webui from the following project:

https://github.com/Haoming02/sd-webui-forge-classic

*** Error executing callback ui_tabs_callback for Z:\webuineo\take2\sd-webui-forge-classic\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py
Traceback (most recent call last):
File "Z:\webuineo\take2\sd-webui-forge-classic\modules\script_callbacks.py", line 283, in ui_tabs_callback
res += c.callback() or []
~~~~~~~~~~^^
File "Z:\webuineo\take2\sd-webui-forge-classic\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 104, in
script_callbacks.on_ui_tabs(lambda: [(common_ui.on_ui_tabs(), "Depth", "depthmap_interface")])
~~~~~~~~~~~~~~~~~~~~^^
File "Z:\webuineo\take2\sd-webui-forge-classic\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 289, in on_ui_tabs
inp += gr.File(label="Custom DepthMap", file_count="single", interactive=True,
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
type="file", elem_id='custom_depthmap_img', visible=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\webuineo\take2\sd-webui-forge-classic\modules\gradio_extensions.py", line 146, in repaired_init
original(self, *args, **fixed_kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Z:\webuineo\take2\sd-webui-forge-classic\venv\Lib\site-packages\gradio\component_meta.py", line 163, in wrapper
return fn(self, **kwargs)
File "Z:\webuineo\take2\sd-webui-forge-classic\venv\Lib\site-packages\gradio\components\file.py", line 98, in init
raise ValueError(
f"Invalid value for parameter type: {type}. Please choose from one of: {valid_types}"
)
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