nestauk / dap_taltech

Tutorials for taltech hack week 2023
MIT License
2 stars 1 forks source link

Make notebooks Colab runnable #23

Open georgerichardson opened 10 months ago

georgerichardson commented 10 months ago

We should be able to check if a notebook is running in Colab or not by putting

IS_COLAB = 'google.colab' in str(get_ipython())

in the first cell. If IS_COLAB is True then we can trigger the notebook to !pip install the requirements from the repo.