fix ResourceDir

points to the resources within extensions subdir
pull/23/head
Kilvoctu 2022-11-21 18:52:41 -06:00
parent b7902367c6
commit ea76667af6
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

View File

@ -367,7 +367,7 @@ class Script(scripts.Script):
def ui(self,is_img2img,title="StylePile"):
file_dir = os.path.dirname(os.path.realpath("__file__"))
ResourceDir = os.path.join(file_dir,f"scripts/StylePile/")
ResourceDir = os.path.join(file_dir,f"extensions/StylePile/StylePile/")
with gr.Column():
with gr.Row():