Skip to content

How to change the default directory for the .wunjo folder

Wladislav Radchenko edited this page Nov 6, 2023 · 4 revisions

How to change the default directory for the .wunjo folder

If you need to change the location of the .wunjo folder, which stores the results of speech synthesis, deepfake video, and neural network models, follow these steps:

  1. Open the directory where your application is installed.
  2. Go to the app/backend/folders.py file.
  3. Add the following line:

If you use Linux:

os.environ["HOME"] = "path to the desired drive or folder"

If you use Windows:

os.environ["USERPROFILE"] = "N:\\wunjo"  // path to the desired drive or folder

Here "path to the desired drive or folder" is the location where you want to move the .wunjo folder.

Note: Make sure the specified path exists and that you have write access to this directory.

Navigation

Clone this wiki locally