immich/machine-learning/app
Zeeshan Khan 34201be74c
feat(ml) backend takes image over HTTP (#2783)
* using pydantic BaseSetting

* ML API takes image file as input

* keeping image in memory

* reducing duplicate code

* using bytes instead of UploadFile & other small code improvements

* removed form-multipart, using HTTP body

* format code

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-17 22:49:19 -05:00
..
cache.py feat(ml): model unloading (#2661) 2023-06-06 20:48:51 -05:00
config.py feat(ml) backend takes image over HTTP (#2783) 2023-06-17 22:49:19 -05:00
main.py feat(ml) backend takes image over HTTP (#2783) 2023-06-17 22:49:19 -05:00
models.py feat(ml) backend takes image over HTTP (#2783) 2023-06-17 22:49:19 -05:00
schemas.py feat(ml) backend takes image over HTTP (#2783) 2023-06-17 22:49:19 -05:00