Commit Graph

2 Commits

Author SHA1 Message Date
Barry Downes
6995bb435c Fix: text -> self.text in clone method. 2023-08-05 15:54:12 +10:00
Barry Downes
d91544b83c Reimplement dynamic prompts in the CLIPTextEncode node.
To achieve repeatability, a random seed input is added.

By this method, the original prompt text remains intact when
serializing and deserializing from a PNG or history.

But the random seed ensures the same choices will be made
when re-translating the "choices" in the original prompt
text, thus ensuring repeatability.

Also, choices can now be nested.
2023-08-01 03:15:44 +10:00