unpackAI / unpackai

The Unpack.AI library
https://www.unpackai.com
MIT License
20 stars 4 forks source link

Enviroment Detection in notebooks #90

Open jamescavanagh opened 2 years ago

jamescavanagh commented 2 years ago

https://github.com/unpackAI/unpackai/blob/d8aef3a3fb45887653df13d0ea742e78e876b638/unpackai/utils.py#L35

Since we are using not only google colab, but also kaggle, and local enviroments, it would be very useful to have a function that automatically detects the enviroment and then sets some config variables, such as the Paths.

I would like to add this myself