We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Use scripts.basedir() than prompt_gallery_name.json I think it's simpler, don't you?
scripts.basedir()
The text was updated successfully, but these errors were encountered:
No it points to the rootpath of webui
>scripts.basedir() >'xxxxx\\stable-diffusion-webui'
Sorry, something went wrong.
No, you shoud not use it in function. But like this:
extension_dir = scripts.basedir() def on_app_started(demo: Optional[gr.Blocks], app: FastAPI): app.mount('/prompt_gallery', StaticFiles(directory=extension_dir,html=True))
No branches or pull requests
Use
scripts.basedir()
than prompt_gallery_name.jsonI think it's simpler, don't you?
The text was updated successfully, but these errors were encountered: