dan4in / PonyHelper

Gradio-based extension for Building Prompt for images. Users can specify the number of tags to generate and select various options inside A1111 Or Forge
MIT License
2 stars 0 forks source link

Doesn't appear on Webui #1

Closed boredafk closed 3 months ago

boredafk commented 3 months ago

Where is it? Maybe it's because the webui is sd1.5? Running on Sagemaker

dan4in commented 3 months ago

**Hello :) i don't know what webui you tried on but it should work on any webui that's based on A1111 can you link what webui you are using

this extension tested on Automtic1111 and Forge webui

and if your webui is unsupported like stableswarm...etc you can use the local standalone version of this tool**

boredafk commented 3 months ago

I use Auto1111 Screenshot 2024-06-18 015456

dan4in commented 3 months ago

I just checked on the extension on A1111 latest Main branch build and Dev SD3 branch and i can't reproduce your problem can you kindly check the file structure if its the cause of the issue that you are facing

📁 webui root directory ┗━━ 📁 extensions ┗━━ 📁 PonyHelper <----- make sure the name is correct and there's no extra folder like PonyHelper-main/PonyHelper.. ┗━━ 📁 javascripts ┗━━ 📁 scripts ┗━━ 📁 Data <----- all files exists

image

and you can also try disabling some other extensions to see if its the cause if you still facing the issue after checking the file structure

boredafk commented 3 months ago

I got this error *** Error loading script: PonyHelper.py Traceback (most recent call last): File "/home/studio-lab-user/asd/modules/scripts.py", line 508, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/home/studio-lab-user/asd/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/studio-lab-user/asd/extensions/PonyHelper/scripts/PonyHelper.py", line 29, in 'meta': read_tags_from_file('meta'), File "/home/studio-lab-user/asd/extensions/PonyHelper/scripts/PonyHelper.py", line 15, in read_tags_from_file raise FileNotFoundError(f"No such file: '{filepath}'") FileNotFoundError: No such file: '/home/studio-lab-user/asd/extensions/PonyHelper/scripts/Data/meta'

boredafk commented 3 months ago

I disabled all extensions except builtin and checked the file

dan4in commented 3 months ago

Hello again thanks for providing me with the error log ^^ now ill be able to solve it i think .. i see the problem related to the script unable to find the data files i updated the script to solve this problem please try downloading the update and trying again to see if it works....♥ Fix For No such file: 'filepath Error 2.0.1