bark
bark copied to clipboard
Models folder
Hi ! Could you explain is there oportunity to change models storage folder ? I have small system disk with no free space. All models are downloading to Users/.cashe folder (windows) , how could I change it to local repository subfolder, for example bark/models ?
Hi, from the FAQ:
How do I specify where models are downloaded and cached?
Use the XDG_CACHE_HOME env variable to override where models are downloaded and cached (otherwise defaults to a subdirectory of ~/.cache).
I created D:\\.cache
and
I set the variable like this:
os.environ["XDG_CACHE_HOME"] = "D:\\.cache"
But still, the models are getting downloaded to ~/.cache
do you have a bigger snippet?
I created
D:\\.cache
andI set the variable like this:
os.environ["XDG_CACHE_HOME"] = "D:\\.cache"
But still, the models are getting downloaded to ~/.cache
Set it to the system environment, it works for me.
closing for inactivity