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

How to use it? #1

Open
Krek12 opened this issue Dec 7, 2024 · 6 comments
Open

How to use it? #1

Krek12 opened this issue Dec 7, 2024 · 6 comments
Labels
question Further information is requested

Comments

@Krek12
Copy link

Krek12 commented Dec 7, 2024

does this act as an extension or do I need to put it directly into the scripts?
If yes, what version?
1?
2?
3?
4?
5?
6?
7?
8?
prompt_parser(version 1).py?

i dont understand

@Kittensx
Copy link
Owner

Kittensx commented Dec 7, 2024 via email

@Kittensx Kittensx added the question Further information is requested label Dec 7, 2024
@Kittensx
Copy link
Owner

Kittensx commented Dec 7, 2024

Also I decided to upload it without writing updated documentation. When I get around to it I'll update both the readme and the version in the code. I also need to clean up the code a little and remove code that is commented out, since it works as intended. Except for the numbers for quantity -- that isn't working right now. You may have found this page via CivitAI, and if you didn't, I'd refer you to my CivitAI article where I also included example images.

If you did find me on CivitAI after reading the article, thank you for trying it out. I am sure you'll find it helpful. See my examples that I post, then try your hand at it. I'd recommend to start with groups or transitions before you move into using sequences. It is a little bit of a learning curve for all of it since it is new parsing language.

@Krek12
Copy link
Author

Krek12 commented Dec 8, 2024

If you want the most up to date version, use the one in the folder with the highest number, in this case, Prompt-Architect-for-A1111/08_updated Sequence at main · Kittensx/Prompt-Architect-for-A1111 https://github.com/Kittensx/Prompt-Architect-for-A1111/tree/main/08_updated%20Sequence this is the one you want. Just put it in your modules folder. Best practice is you make a copy of the existing file. Ensure that it is in your modules folder and is named: "prompt_parser.py". It is meant to replace in entirety your current file. Your current file should be located from root (where you run webui-user.bat) --> modules (stable-diffusion-webui\modules). Download the version you want to use, then replace it in that file. I included all 8 iterations of the prompt parser as I sequentially updated it.

On Fri, Dec 6, 2024 at 10:36 PM Krek12 @.> wrote: does this act as an extension or do I need to put it directly into the scripts? If yes, what version? 1? 2? 3? 4? 5? 6? 7? 8? prompt_parser(version 1).py? i dont understand — Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLYPP3XPRX2N6B5A6AVWQ232EKJNXAVCNFSM6AAAAABTF5WMIGVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZDINBRGY3DGMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

like this?
image

or like this?
image

@Krek12
Copy link
Author

Krek12 commented Dec 8, 2024

Also I decided to upload it without writing updated documentation. When I get around to it I'll update both the readme and the version in the code. I also need to clean up the code a little and remove code that is commented out, since it works as intended. Except for the numbers for quantity -- that isn't working right now. You may have found this page via CivitAI, and if you didn't, I'd refer you to my CivitAI article where I also included example images.

If you did find me on CivitAI after reading the article, thank you for trying it out. I am sure you'll find it helpful. See my examples that I post, then try your hand at it. I'd recommend to start with groups or transitions before you move into using sequences. It is a little bit of a learning curve for all of it since it is new parsing language.

No, but now I'm going to read

@Krek12
Copy link
Author

Krek12 commented Dec 8, 2024

By the way, have you ever thought of trying to add some interesting functions to the e.g., the neutral prompt?

Fun fact I just found out that the author changed it 2 weeks ago!

https://github.com/ljleb/sd-webui-neutral-prompt/tree/affine

branch affine

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

No branches or pull requests

2 participants