fix loading order

This commit is contained in:
layerdiffusion
2024-07-26 12:57:14 -07:00
parent bb209ae2b2
commit e1082b8799
2 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ __pycache__
*.safetensors
*.pth
*.dev.js
*.pyi
.DS_Store
/output/
/ESRGAN/*

View File

@@ -14,7 +14,13 @@ from PIL import Image
from io import BytesIO
from gradio.context import Context
from functools import wraps
from modules.ui_components import FormComponent
class FormComponent:
webui_do_not_create_gradio_pyi_thank_you = True
def get_expected_parent(self):
return gr.components.Form
canvas_js_root_path = os.path.dirname(__file__)