Download app/__init__.py from rk147/secforge: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/rk147/secforge/resolve/main/app/__init__.py
- Command line
-
hf download hf://spaces/rk147/secforge/app/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/rk147/secforge/resolve/main/app/__init__.py
375 Bytes
| import warnings | |
| import os | |
| # Suppress torch.classes warnings that occur during sentence-transformers initialization | |
| warnings.filterwarnings("ignore", message=".*Tried to instantiate class '__path__._path'.*") | |
| warnings.filterwarnings("ignore", message=".*Examining the path of torch.classes.*") | |
| # Optimize tokenizer parallelism | |
| os.environ["TOKENIZERS_PARALLELISM"] = "false" | |