From 0c77b50eba42394c9b0b2882e423e8e1de7c508a Mon Sep 17 00:00:00 2001 From: KieranLitschel Date: Sun, 24 Jan 2021 18:56:57 +0000 Subject: [PATCH] Replaced git clone with pip install for notebooks --- notebooks/global_explain_embedding_components.ipynb | 7 ++----- notebooks/train_xswem.ipynb | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/notebooks/global_explain_embedding_components.ipynb b/notebooks/global_explain_embedding_components.ipynb index 71b1017..a9faca6 100644 --- a/notebooks/global_explain_embedding_components.ipynb +++ b/notebooks/global_explain_embedding_components.ipynb @@ -50,7 +50,7 @@ { "cell_type": "markdown", "source": [ - "Download the XSWEM code from GitHub." + "Install XSWEM." ], "metadata": { "collapsed": false @@ -61,10 +61,7 @@ "execution_count": null, "outputs": [], "source": [ - "!git clone https://github.com/KieranLitschel/XSWEM\n", - "!mv XSWEM/* ./\n", - "!rm -rf XSWEM\n", - "!pip install -r requirements.txt" + "!pip install xswem" ], "metadata": { "collapsed": false, diff --git a/notebooks/train_xswem.ipynb b/notebooks/train_xswem.ipynb index 35fe9a3..382f3cf 100644 --- a/notebooks/train_xswem.ipynb +++ b/notebooks/train_xswem.ipynb @@ -41,7 +41,7 @@ { "cell_type": "markdown", "source": [ - "Download the XSWEM code from GitHub." + "Install XSWEM." ], "metadata": { "collapsed": false @@ -52,10 +52,7 @@ "execution_count": null, "outputs": [], "source": [ - "!git clone https://github.com/KieranLitschel/XSWEM\n", - "!mv XSWEM/* ./\n", - "!rm -rf XSWEM\n", - "!pip install -r requirements.txt" + "!pip install xswem" ], "metadata": { "collapsed": false,