Spaces:
Build error
Build error
Download utils/commons/single_thread_env.py from yerfor/SyntaSpeech: direct link, hf CLI and curl.
- Browser
- Download file 133 Bytes
-
https://huggingface.co/spaces/yerfor/SyntaSpeech/resolve/main/utils/commons/single_thread_env.py
- Command line
-
hf download hf://spaces/yerfor/SyntaSpeech/utils/commons/single_thread_env.py
-
curl -L -o single_thread_env.py https://huggingface.co/spaces/yerfor/SyntaSpeech/resolve/main/utils/commons/single_thread_env.py
133 Bytes
| import os | |
| os.environ["OMP_NUM_THREADS"] = "1" | |
| os.environ['TF_NUM_INTEROP_THREADS'] = '1' | |
| os.environ['TF_NUM_INTRAOP_THREADS'] = '1' | |