Skip to content

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

@SoenkevL

Description

@SoenkevL

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions