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

Error in models.py file of paperai pip package #77

Open
SoenkevL opened this issue Apr 30, 2024 · 0 comments
Open

Error in models.py file of paperai pip package #77

SoenkevL opened this issue Apr 30, 2024 · 0 comments

Comments

@SoenkevL
Copy link

When I installed Paperai using pip version 24.0 for python3.11 I got an error that my Embedding was of type None. I could locate the error. There is an issue in the model.py file in line 31 where it should be "if os.path.isfile(os.path.join(path, "config.json")):" instead of "if os.path.isfile(os.path.join(path, "config")):". Atleast that resolved the error for me and afterwards the program worked fine again.

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

1 participant