borderless / ui /__init__.py
spagestic's picture
Update requirements and improve model loading logic
f8fe299
Raw
History Blame Contribute Delete
302 Bytes
# ui/__init__.py
import warnings
warnings.filterwarnings(
"ignore",
message='Field name "json"',
category=UserWarning,
module=r"firecrawl\.v2\.types",
)
warnings.filterwarnings(
"ignore",
message="PyTorch was not found",
category=UserWarning,
module=r"transformers",
)