adieyal / dynamicprompts

Templating language for generating prompts for text to image generators such as Stable Diffusion
MIT License
124 stars 20 forks source link

Fixed wildcard variants with nested prompts #69

Closed adieyal closed 1 year ago

adieyal commented 1 year ago

If colours.txt contained colours-warm colours-cold

Then {2$$colours} would treat those nested wildcards as strings

adieyal commented 1 year ago

I'm not sure if invoking parse in this utils function is correct.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (00c1b2a) 98.06% compared to head (117c640) 98.06%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #69 +/- ## ======================================= Coverage 98.06% 98.06% ======================================= Files 71 71 Lines 2685 2692 +7 ======================================= + Hits 2633 2640 +7 Misses 52 52 ``` | [Impacted Files](https://codecov.io/gh/adieyal/dynamicprompts/pull/69?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal) | Coverage Δ | | |---|---|---| | [src/dynamicprompts/samplers/utils.py](https://codecov.io/gh/adieyal/dynamicprompts/pull/69?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal#diff-c3JjL2R5bmFtaWNwcm9tcHRzL3NhbXBsZXJzL3V0aWxzLnB5) | `100.00% <100.00%> (ø)` | | | [tests/test\_sd\_issues.py](https://codecov.io/gh/adieyal/dynamicprompts/pull/69?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal#diff-dGVzdHMvdGVzdF9zZF9pc3N1ZXMucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

adieyal commented 1 year ago

Thanks