Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Closed
SoenkevL opened this issue Apr 30, 2024 · 1 comment
Closed

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

SoenkevL opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

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.

@Spiffical
Copy link

Thanks for addressing this! Easy fix.

@davidmezzetti davidmezzetti self-assigned this Dec 22, 2024
@davidmezzetti davidmezzetti added this to the v2.3.0 milestone Dec 22, 2024
@davidmezzetti davidmezzetti added the bug Something isn't working label Dec 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants