Skip to content

Commit c1e7d05

Browse files
committed
Remove optional import
1 parent 681707a commit c1e7d05

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

russian_text_stresser/text_stresser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
has_acute_accent_or_only_one_syllable,
66
)
77
from russian_text_stresser.russian_dictionary import RussianDictionary
8-
from russian_text_stresser.benchmark_word_sense_disambiguation import LocalLLM
98
from russian_text_stresser.gpt3_WSD import WordSenseDisambiguator
109

1110

@@ -15,7 +14,7 @@ def __init__(
1514
db_file: str = "russian_dict.db",
1615
simple_cases_file: Optional[str] = "simple_cases.pkl",
1716
use_large_model=False,
18-
llm: Optional[LocalLLM] = None, #
17+
llm: Optional["LocalLLM"] = None, #
1918
add_stressrnn: bool = False,
2019
stressrnn_threshold: float = 0.8,
2120
) -> None:

0 commit comments

Comments
 (0)