InvokeAI/ldm
CapableWeb 6c0dd9b5ef Add back old dream.py as legacy_api.py
This commit "reverts" the new API changes by extracting the old
functionality into new files.

The work is based on the commit `803a51d5adca7e6e28491fc414fd3937bee7cb79`

PngWriter regained PromptFormatter as old server used that.

`server_legacy.py` is the old server that `dream.py` used.

Finally `legacy_api.py` is what `dream.py` used to be at the mentioned
commit.

One manually run test has been added in order to be able to test
compatibility with the old API, currently just testing that the API
endpoint works the same way + the image hash is the same as it used to
be before.
2022-10-12 20:35:56 -04:00
..
data Textual Inversion for M1 2022-09-27 01:39:17 +02:00
invoke Add back old dream.py as legacy_api.py 2022-10-12 20:35:56 -04:00
models run make_schedule() if it hasn't already been called 2022-10-09 15:30:23 -04:00
modules rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
generate.py reintroduce fix for m1 from PR#579 missing after merge 2022-10-11 21:50:59 +02:00
lr_scheduler.py prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
simplet2i.py Squashed commit of the following: 2022-09-12 14:31:48 -04:00
util.py * Fix for Perlin noise issue for cuda as well. 2022-10-09 08:24:02 -04:00