mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
6c0dd9b5ef
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. |
||
---|---|---|
.. | ||
orig_scripts | ||
dream.py | ||
images2prompt.py | ||
invoke.py | ||
legacy_api.py | ||
merge_embeddings.py | ||
preload_models.py | ||
sd-metadata.py |