mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
fix #861
This commit is contained in:
@@ -10,9 +10,11 @@ create_or_modify_pyi_org = gradio.component_meta.create_or_modify_pyi
|
|||||||
|
|
||||||
|
|
||||||
def create_or_modify_pyi_org_patched(component_class, class_name, events):
|
def create_or_modify_pyi_org_patched(component_class, class_name, events):
|
||||||
if component_class.__name__ == 'LogicalImage':
|
try:
|
||||||
return
|
if component_class.__name__ == 'LogicalImage':
|
||||||
|
return
|
||||||
|
except:
|
||||||
|
pass
|
||||||
return create_or_modify_pyi_org(component_class, class_name, events)
|
return create_or_modify_pyi_org(component_class, class_name, events)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user