Comments (7)
Thanks for the issue and solution . Added a fix . @OgalFinklestein @Riam-Mar could you please try.
from promptgallery-stable-diffusion-webui.
I think this is part of a larger issue with --data-dir
.
from promptgallery-stable-diffusion-webui.
Although the suggestion in the other bug fixes other SD extensions (that is, add --gradio-allowed-path
), this extension is still throwing that same exception above. Nothing responding on :5173.
from promptgallery-stable-diffusion-webui.
On the other post of mine
The --gradio-allowed-path
doesn't actually fix any problem with an extension but with gradio not being allowed to access the files.
CMD line args for extensions in this extension
The problem here seems to be, that it's not really looking up the --data-dir but just goes for an "extensions" folder.
You should actually have a folder A1111-DIR/extensions/Prompt Gallery/
with a subfolder assets
, if you used the extension.
I made some changes so the scripts use the extension_dir with from modules.paths_internal import extensions_dir
.
You will have to replace the code in your user-dir extension and in the scripts file in the A1111 directory
PasteBins
- USER-DIR/extensions/PromptGallery-stable-diffusion-webui/scripts/prompt_gallery.py
- A1111-DIR/scripts/prompt_gallery.py
I tested it with A1111 1.5.1 and LobeHub and it worked.
Suggestion to the devs
Import A1111's extensions_dir
from modules.paths_internal
and use it to get the extension name to create the OUTPATH_SAMPLES
and OUTPATH_GRIDS
in the scripts file of the A1111 scripts directory.
Same for checking the extension name and the StaticFiles
mount in the extensions script file.
from promptgallery-stable-diffusion-webui.
Removed extension from user-dir and a1111-dir, re-installed: Works as expected for me.
from promptgallery-stable-diffusion-webui.
Confirmed. Working once again.
from promptgallery-stable-diffusion-webui.
Seems to still be an issue , happening to me recently
from promptgallery-stable-diffusion-webui.
Related Issues (20)
- Google Colab Support HOT 2
- Error when selecting generated images for prompt-sets HOT 19
- [enhancement] add new prompt from ui HOT 2
- [Enhancement] Use only the same Port and IP as Stable-Diffusion-WebUI HOT 2
- [Enhancement]Use scripts.basedir() than prompt_gallery_name.json HOT 2
- I follow the tutorial but in my webUI there are not all the boxes that appear in the video HOT 4
- Permission problem when launching webui.py HOT 9
- [Enhancement]Use scripts.basedir() than prompt_gallery_name.json HOT 3
- BUG: Does not correctly parse sampler index HOT 1
- With open(file_path, "rb") as f: PermissionErorr HOT 10
- IsADirectoryError when pressing 'Show pics' button HOT 6
- AssertionError: trying to open image file not in temporary directory HOT 1
- Use multiple models? HOT 2
- It won't work for LAN mode. HOT 1
- Why do I need this? HOT 2
- Unable to use the extension HOT 1
- Feature Request: Option to show selected avatars image on all cards HOT 2
- Size param not working HOT 1
- A Number Of Issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptgallery-stable-diffusion-webui.