Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard written path #13

Closed
AlphaUki opened this issue Apr 30, 2023 · 1 comment
Closed

Hard written path #13

AlphaUki opened this issue Apr 30, 2023 · 1 comment

Comments

@AlphaUki
Copy link

AlphaUki commented Apr 30, 2023

Line 32 of the script sonar.py, the directory name "stable-diffusion-webui-sonar" should not be hard written.
__file__ might be used, to allow changing the ext directory name.

@Kahsolt
Copy link
Owner

Kahsolt commented Apr 30, 2023

I wished so, but sd-webui executes scripts through the dynamic eval(), under this case __file__ is not available from runtime, thus just left it hard-coded...
If you find any capable way, please feel free to tell me or make a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants