deepfates / memery

Search over large image datasets with natural language and computer vision!
https://deepfates.com/memery
MIT License
526 stars 27 forks source link

Root directory configurable from CLI, displays on GUI #29

Closed wkrettek closed 2 years ago

wkrettek commented 2 years ago

I changed the command line (07) and streamlight (09) notebooks with regards to issue #28 to make the root directory configurable as well as to display it in the GUI.

All it does is takes another argument during serve and switches into that directory if it's valid. I was worried it would break dependencies by changing the working directory so early, but it seems to be fine.

There's a caption on the sidebar as well that will show you the root directory at bootup.

Play around with it and let me know what you think.

deepfates commented 2 years ago

We did this differently in https://github.com/deepfates/memery/commit/10c4ec4b3b79721aa3fec474575adaa9ebd21d56 and will close this PR if/when we merge that