Skip to content

Commit

Permalink
Update package imports, closes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Sep 10, 2021
1 parent 15b28b8 commit e0ce7a2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
DESCRIPTION = f.read()

setup(name="paperai",
version="1.9.0",
version="1.10.0",
author="NeuML",
description="AI-powered literature discovery and review engine for medical/scientific papers",
long_description=DESCRIPTION,
Expand All @@ -32,7 +32,7 @@
"networkx>=2.4",
"PyYAML>=5.3",
"regex>=2020.5.14",
"txtai[api,similarity]>=3.2.0",
"txtai[api,similarity]>=3.3.0",
"txtmarker>=1.0.0"
],
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion src/python/paperai/highlights.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import networkx

from txtai.tokenizer import Tokenizer
from txtai.pipeline import Tokenizer

class Highlights(object):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/python/paperai/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import yaml

from txtai.embeddings import Embeddings
from txtai.tokenizer import Tokenizer
from txtai.pipeline import Tokenizer

from .models import Models

Expand Down
2 changes: 1 addition & 1 deletion src/python/paperai/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import html2markdown
import mdv

from txtai.tokenizer import Tokenizer
from txtai.pipeline import Tokenizer

from .highlights import Highlights
from .models import Models
Expand Down
2 changes: 1 addition & 1 deletion src/python/paperai/report/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import regex as re

from txtai.extractor import Extractor
from txtai.pipeline import Extractor

from ..index import Index
from ..query import Query
Expand Down
2 changes: 1 addition & 1 deletion src/python/paperai/vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import sys
import tempfile

from txtai.pipeline import Tokenizer
from txtai.vectors import WordVectors
from txtai.tokenizer import Tokenizer

from .models import Models

Expand Down

0 comments on commit e0ce7a2

Please sign in to comment.