Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
yerfor
/
SyntaSpeech
like
4
Build error
App
Files
Files
Community
1
7216cd3
SyntaSpeech
/
utils
/
commons
/
single_thread_env.py
yerfor
init
22871e7
over 2 years ago
raw
Copy download link
history
blame
Safe
133 Bytes
import
os
os.environ[
"OMP_NUM_THREADS"
] =
"1"
os.environ[
'TF_NUM_INTEROP_THREADS'
] =
'1'
os.environ[
'TF_NUM_INTRAOP_THREADS'
] =
'1'