InvokeAI/invokeai/app/api/routers
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
..
images.py fix(nodes): fix bugs with serving images 2023-05-24 11:30:47 -04:00
models.py logger is a interchangeable service 2023-04-29 10:48:50 -04:00
sessions.py fix(nodes): address feedback 2023-04-26 06:29:30 +10:00