Allow extra networks to store infotext parameters
Describe what this pull request is trying to achieve.
Provides an API for extra networks to save parameters to the infotext. Updates hypernetworks and LoRAs added to prompts to store this information.
Closes #8040
Additional notes and description of your changes
Example output:
Hypernet hashes: "waterElemental_10:be10c1cb8f", Lora hashes: "incaseStyle_incaseAnythingV3:e55f3380b6"
Environment this was tested in
List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.
- OS: Windows
- Browser: Chrome
- Graphics card: NVIDIA RTX 3090
I'd rather not have the global "Extra networks" entry in the infotext - instead, lora should independently add "Lora hashes: be10c1cb8f, 21a341c37f", hypernets would add its own, etc.
I think this is superseded by https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/39ec4f06ffb2c26e1298b2c5d80874dc3fd693ac now