Crivella / ocr_translate

Django based web server for running OCR + Translation of incoming images
GNU General Public License v3.0
18 stars 2 forks source link

Changing Database and Transformer Cache Default Install Directory? #31

Open YourIssue opened 1 week ago

YourIssue commented 1 week ago

Is it possible to change the default database directory so the .ocr_translate folder isn't in the "C:\Users****" Folder?

Crivella commented 1 week ago

You can set the DATABASE_NAME environment variable to control that. You can check what variables control what and how to set them on the documentation https://crivella.github.io/ocr_translate/user/envs.html#setting-environment-variables

Let me know if this solves your issue