The API key configuration code should include:
from nnsight import CONFIG
A caveat for existing users: if the NDIF_API_KEY environment variable is set -- and I had it set in my .bashrc -- it overrides the API key set with CONFIG.set_default_api_key in the sample code. This will cause an error if the NDIF_API_KEY has expired.
The API key configuration code should include:
A caveat for existing users: if the NDIF_API_KEY environment variable is set -- and I had it set in my .bashrc -- it overrides the API key set with
CONFIG.set_default_api_keyin the sample code. This will cause an error if the NDIF_API_KEY has expired.