Skip to content

Commit 2d7f36a

Browse files
committed
build: remove torch cpu e ajusta path
1 parent 40581d7 commit 2d7f36a

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ spacy = "3.8.7"
1515
stanza = "1.10.1"
1616
tqdm = "^4.67.1"
1717

18-
[[tool.poetry.source]]
19-
name = "pytorch_cpu"
20-
url = "https://download.pytorch.org/whl/cpu"
21-
priority = "explicit"
22-
2318
[build-system]
2419
requires = ["poetry-core"]
2520
build-backend = "poetry.core.masonry.api"

src/dptoie/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
from spacy import Language
1515
from typing import Any, Generator
1616
from spacy_conll.parser import ConllParser
17-
from src.dptoie.extraction import Extractor, ExtractorConfig, Extraction
18-
17+
from extraction import Extractor, ExtractorConfig, Extraction
1918

2019
def generate_conll_file_from_sentences_file(input_file: str) -> str:
2120
tokenizer = stanza.Pipeline(lang='pt', processors='tokenize, mwt', use_gpu=False)

0 commit comments

Comments
 (0)