Spaces:
Sleeping
Sleeping
Download src/handwriting/runtime.py from lzpiece/IntelligentHandwrittenCGS: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/lzpiece/IntelligentHandwrittenCGS/resolve/main/src/handwriting/runtime.py
- Command line
-
hf download hf://spaces/lzpiece/IntelligentHandwrittenCGS/src/handwriting/runtime.py
-
curl -L -o runtime.py https://huggingface.co/spaces/lzpiece/IntelligentHandwrittenCGS/resolve/main/src/handwriting/runtime.py
258 Bytes
| import os | |
| def configure_runtime() -> None: | |
| os.environ.setdefault("KMP_DUPLICATE_LIB_OK", "TRUE") | |
| os.environ.setdefault("OMP_NUM_THREADS", "1") | |
| os.environ.setdefault("MKL_NUM_THREADS", "1") | |
| os.environ.setdefault("KMP_INIT_AT_FORK", "FALSE") | |