Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: load() got an unexpected keyword argument 'quiet' #72

Open
dev-hjJoo opened this issue Nov 25, 2023 · 3 comments
Open

TypeError: load() got an unexpected keyword argument 'quiet' #72

dev-hjJoo opened this issue Nov 25, 2023 · 3 comments

Comments

@dev-hjJoo
Copy link


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.

akashagarwal7 added a commit to akashagarwal7/Questgen.ai that referenced this issue Dec 8, 2023
@rane-hub
Copy link

rane-hub commented Jan 5, 2024

Remove the parameter called "quiet" and it works fine.

@VAIBHAVSING
Copy link

not working

@danielwcho
Copy link

not working

It worked for me on vscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants