Skip to content

Commit

Permalink
✨ refactor(app): reorder import statements in infer.py
Browse files Browse the repository at this point in the history
Reorganized import statements for better readability.
  • Loading branch information
sudoskys committed Jan 11, 2025
1 parent 364d4f5 commit f812dd4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/fast_langdetect/ft_detect/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @Time : 2024/01/17 下午08:30
# @Author : sudoskys
# @File : infer.py
# @Software: PyCharm
import hashlib
import logging
import os
from pathlib import Path
Expand Down Expand Up @@ -39,8 +39,6 @@ def cache_model(self, key: str, model) -> None:

_model_cache = ModelManager()

import hashlib


def calculate_md5(file_path, chunk_size=8192):
"""
Expand Down

0 comments on commit f812dd4

Please sign in to comment.