Skip to content

Commit f812dd4

Browse files
committed
✨ refactor(app): reorder import statements in infer.py
Reorganized import statements for better readability.
1 parent 364d4f5 commit f812dd4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/fast_langdetect/ft_detect/infer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# @Time : 2024/01/17 下午08:30
33
# @Author : sudoskys
44
# @File : infer.py
5-
# @Software: PyCharm
5+
import hashlib
66
import logging
77
import os
88
from pathlib import Path
@@ -39,8 +39,6 @@ def cache_model(self, key: str, model) -> None:
3939

4040
_model_cache = ModelManager()
4141

42-
import hashlib
43-
4442

4543
def calculate_md5(file_path, chunk_size=8192):
4644
"""

0 commit comments

Comments
 (0)