scailable / sclblpy

Python package for Scailable uploads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User credentials and .gzip file location

MKaptein opened this issue · comments

Check where the user credentials and (temporary) .gzip are stored when installing the package. Make sure that this is in a sensible location (i.e., not the current working directory but rather the directory where the package is installed).

Now set to:

USER_CREDENTIALS: str = dirs.user_config_dir + "/.creds.json" # User credentials
GZIP_BUNDLE: str = dirs.user_data_dir + "/model_bundle.gzip" # Model bundle
MODELS_JSON: str = os.path.dirname(os.path.realpath(file)) + "/supported_models.json" # Supported models

in _globals.py