Changes
1 changed files (+1/-1)
-
-
@@ -12,7 +12,7 @@ For Nvidia GPUs, install `fastembed-gpu`. For Intel GPUs, install OpenCL drivers (for example `intel-compute-runtime`) and `onnxruntime-openvino`.## Usage This program uses a client-server architecture to watch directories with inotify and keep the model in memory so the client doesn't have to wait several seconds to load the model. It uses file inodes and modification times to avoid unnecessary re-indexing. This program uses a client-server architecture to watch directories with inotify and keep the model in memory so the client doesn't have to wait several seconds to load the model. It uses file inodes and modification times to avoid unnecessary re-indexing. Additionally, the client only depends on the Python standard library. Run `python server.py DIRS_TO_INDEX` to start the server. Make sure you don't include nested directories or weird stuff will happen. The server currently only indexes images although more modalities may be supported in the future. There are probably some weird race condition bugs if you modify a lot of files at the same time.
-