Spaces:
Sleeping
Sleeping
File size: 316 Bytes
ea9ca44 | 1 2 3 4 5 6 7 8 9 | # src/preprocess/__init__.py
from .cleaner import clean_text
# Note: do not import `anonymizer` at package import time because it
# brings heavy dependencies (transformers / torch). Import it lazily
# where needed to avoid import-time failures on systems without
# working GPU/CUDA or where torch import can fail.
|