Download src/utils/common.py from MohitRajput45/Fraud-Guard-Intelligence: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/MohitRajput45/Fraud-Guard-Intelligence/resolve/main/src/utils/common.py
- Command line
-
hf download hf://spaces/MohitRajput45/Fraud-Guard-Intelligence/src/utils/common.py
-
curl -L -o common.py https://huggingface.co/spaces/MohitRajput45/Fraud-Guard-Intelligence/resolve/main/src/utils/common.py
219 Bytes
| import os | |
| import sys | |
| # Get project root | |
| PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../")) | |
| # Add to Python path | |
| if PROJECT_ROOT not in sys.path: | |
| sys.path.append(PROJECT_ROOT) |