You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: load() got an unexpected keyword argument 'quiet'
I installed it following the requirements.txt provided in this repo, and also followed the guidelines written in the README.md file.
However, the above error occurred. Please let me know how to resolve this error.
The text was updated successfully, but these errors were encountered:
akashagarwal7
added a commit
to akashagarwal7/Questgen.ai
that referenced
this issue
Dec 8, 2023
TypeError Traceback (most recent call last)
Cell In[16], line 1
----> 1 qg = main.QGen()
2 output = qg.predict_mcq(payload)
3 pprint (output)
File ~\anaconda3\envs\PyTorch\lib\site-packages\Questgen\main.py:46, in QGen.init(self)
44 self.device = device
45 self.model = model
---> 46 self.nlp = spacy.load('en_core_web_sm', quiet=True)
48 self.s2v = Sense2Vec().from_disk('s2v_old')
50 self.fdist = FreqDist(brown.words())
TypeError: load() got an unexpected keyword argument 'quiet'
I installed it following the requirements.txt provided in this repo, and also followed the guidelines written in the README.md file.
However, the above error occurred. Please let me know how to resolve this error.
The text was updated successfully, but these errors were encountered: