Skip to content

Commit 810d4b9

Browse files
author
Miltos Allamanis
committed
Attempt to fix CI error.
1 parent 5214525 commit 810d4b9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- name: Setup Python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: '3.7'
22+
python-version: '3.8'
2323
architecture: x64
2424
- name: Compute tSNE Embeddings
2525
run: |
2626
python -m pip install transformers sklearn numpy
27-
python -m pip install torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
27+
python -m pip install torch==1.10.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
2828
python ${{ github.workspace }}/etc/compute_embeddings.py ${{ github.workspace }}/_site/paper-abstracts.json ${{ github.workspace }}/_site/tsne.json
2929
- name: Compute topics
3030
run: |

etc/compute_topics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import json
33
import nltk
44

5+
nltk.download('omw-1.4')
56
nltk.download('stopwords')
67
nltk.download('wordnet')
78
nltk.download('punkt')
@@ -79,4 +80,4 @@ def parse_arguments():
7980
json.dump({
8081
"topics": topic_tokens,
8182
"paper_data": paper_topic_data
82-
}, f)
83+
}, f)

0 commit comments

Comments
 (0)