Using the AI Server on a different computer from the Cove Server - skier233/nsfw_ai_model_server GitHub Wiki
A common setup is to run the AI Server on a different computer than the Cove server to be able to take advantage of a more powerful GPU than what is available on the Cove server. Here is how to configure this setup:
- Ensure the computer that will be running the AI Server can access the files from Cove's server
- For example, if the videos for Cove are in C:\cove\scenes, ensure you have the Cove server's drive mapped to the computer that will run the AI Server so you could access those files at
F:\cove\scenesfor example. You can add your folders to the docker compose file.
- For example, if the videos for Cove are in C:\cove\scenes, ensure you have the Cove server's drive mapped to the computer that will run the AI Server so you could access those files at
- Install the AI Server on the desired computer.
- Install the Cove extension(s).
- In the Cove AI settings page, set the
Server URLto the url pointing to the nsfw_ai_model_server - In the Cove AI settings page, create a
Path Mappingas described in further detail below.
Path Mappings (when and how)
Path mappings are only needed when file paths differ between Cove and the nsfw_ai_model_server (different machines, Docker/WSL, etc).
In the Cove AI settings page, click Add mapping and set From prefix to a path from Cove's perspective, and To prefix to the same path from the nsfw_ai_model_server's perspective
- Example (Windows Cove, Linux/Docker nsfw_ai_server):
From prefixE:\Media\ ->To prefix/media/. If Cove and the backend share identical paths, you do not need a mapping.