Rehman1603 commited on
Commit
058f46f
1 Parent(s): e1a4603

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -4,7 +4,7 @@ import time
4
  import torch
5
  from transformers import T5ForConditionalGeneration,T5Tokenizer
6
  import random
7
- #import spacy
8
  import zipfile
9
  import os
10
  os.system('pip install git+https://github.com/boudinfl/pke.git')
@@ -12,7 +12,7 @@ os.system('python -m nltk.downloader universal_tagset')
12
  os.system('python -m spacy download en')
13
  os.system('wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
14
  os.system('tar -xvf s2v_reddit_2015_md.tar.gz')
15
- #os.system('python -m spacy download en_core_web_sm')
16
  import git
17
  import json
18
  from sense2vec import Sense2Vec
 
4
  import torch
5
  from transformers import T5ForConditionalGeneration,T5Tokenizer
6
  import random
7
+ import spacy
8
  import zipfile
9
  import os
10
  os.system('pip install git+https://github.com/boudinfl/pke.git')
 
12
  os.system('python -m spacy download en')
13
  os.system('wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
14
  os.system('tar -xvf s2v_reddit_2015_md.tar.gz')
15
+ os.system('python -m spacy download en_core_web_sm')
16
  import git
17
  import json
18
  from sense2vec import Sense2Vec