Open VAIBHAVSING opened 4 months ago
I tried like this:
# self.nlp = spacy.load('en_core_web_sm', quiet=True)
self.nlp = spacy.load('en_core_web_sm')
@srkanyalcinkaya Where did you write the above code in colab or you make changes in github code by cloning it
error in google colab due to TypeError Traceback (most recent call last) in <cell line: 1>()
----> 1 qg=QGen()
/usr/local/lib/python3.10/dist-packages/Questgen/main.py in init(self) 44 self.device = device 45 self.model = model ---> 46 self.nlp = spacy.load('en_core_web_sm', quiet=True) 47 48 self.s2v = Sense2Vec().from_disk('s2v_old')
TypeError: load() got an unexpected keyword argument 'quiet'