Giter Site home page Giter Site logo

Comments (7)

dr413677671 avatar dr413677671 commented on May 12, 2024 1

Thanks for the issue and solution . Added a fix . @OgalFinklestein @Riam-Mar could you please try.

from promptgallery-stable-diffusion-webui.

OgalFinklestein avatar OgalFinklestein commented on May 12, 2024

I think this is part of a larger issue with --data-dir.

from promptgallery-stable-diffusion-webui.

OgalFinklestein avatar OgalFinklestein commented on May 12, 2024

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.

Riam-Mar avatar Riam-Mar commented on May 12, 2024

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

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.

Riam-Mar avatar Riam-Mar commented on May 12, 2024

Removed extension from user-dir and a1111-dir, re-installed: Works as expected for me.

from promptgallery-stable-diffusion-webui.

OgalFinklestein avatar OgalFinklestein commented on May 12, 2024

Confirmed. Working once again.

from promptgallery-stable-diffusion-webui.

webcoderz avatar webcoderz commented on May 12, 2024

Seems to still be an issue , happening to me recently

from promptgallery-stable-diffusion-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.