InvokeAI/invokeai/app
psychedelicious 23d9d58c08 fix(nodes): fix bugs with serving images
When returning a `FileResponse`, we must provide a valid path, else an exception is raised outside the route handler.

Add the `validate_path` method back to the service so we can validate paths before returning the file.

I don't like this but apparently this is just how `starlette` and `fastapi` works with `FileResponse`.
2023-05-24 11:30:47 -04:00
..
api fix(nodes): fix bugs with serving images 2023-05-24 11:30:47 -04:00
cli use InvokeAISettings for app-wide configuration 2023-05-03 22:30:30 -04:00
invocations feat(nodes): address feedback 2023-05-24 11:30:47 -04:00
models feat(nodes): address feedback 2023-05-24 11:30:47 -04:00
services fix(nodes): fix bugs with serving images 2023-05-24 11:30:47 -04:00
util feat(nodes): address feedback 2023-05-24 11:30:47 -04:00
api_app.py fix(nodes): fix bugs with serving images 2023-05-24 11:30:47 -04:00
cli_app.py feat(nodes): wip image storage implementation 2023-05-24 11:30:47 -04:00