Skip to content

Commit

Permalink
added colab support
Browse files Browse the repository at this point in the history
  • Loading branch information
JustGlowing committed Oct 24, 2023
1 parent a80a0a8 commit ef6cb94
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions examples/BasicUsage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@
"metadata": {},
"outputs": [],
"source": [
"#import sys\n",
"#sys.path.insert(0, '../')\n",
"#%load_ext autoreload\n",
"\n",
"import sys\n",
"sys.path.insert(0, '../')\n",
"%load_ext autoreload"
"IN_COLAB = 'google.colab' in sys.modules\n",
"\n",
"if IN_COLAB:\n",
" # Install Intrasom\n",
" !pip install minisom"
]
},
{
Expand Down Expand Up @@ -1404,7 +1411,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.7.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit ef6cb94

Please sign in to comment.