Skip to content

Commit

Permalink
update model's hash
Browse files Browse the repository at this point in the history
  • Loading branch information
oksidgy committed Aug 12, 2024
1 parent 3eee721 commit 53e8afa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dedoc/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
scan_orientation_efficient_net_b0="c60812552a1be624476c1e5b58599867b36f8d4e",
font_classifier="db4481ad60ab050cbb42079b64f97f9e431feb07",
paragraph_classifier="97c4b78bc20d87ec7d53389e09f1ca35c6ade067",
line_type_classifiers="18df71c2e5d6985769d2d2dea6902e3e0a1fc9fe",
line_type_classifiers="6ad0eacbfdea065b658cb6f039d13f75245d51ae",
fintoc_classifiers="6a907b7d2437c3f61ac9c506f67175207982fae8"
)

Expand Down
4 changes: 2 additions & 2 deletions tests/api_tests/test_api_doctype_diploma.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def test_diploma_docx(self) -> None:
self.assertEqual("Глава 1.", node["text"][:8])
self.assertEqual("named_item", node["metadata"]["paragraph_type"])

node = self._get_by_tree_path(structure, "0.5")
node = self._get_by_tree_path(structure, "0.6")
self.assertEqual("Глава 2.", node["text"][:8])
self.assertEqual("named_item", node["metadata"]["paragraph_type"])

node = self._get_by_tree_path(structure, "0.6")
node = self._get_by_tree_path(structure, "0.7")
self.assertEqual("Глава 3.", node["text"][:8])
self.assertEqual("named_item", node["metadata"]["paragraph_type"])

0 comments on commit 53e8afa

Please sign in to comment.