Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
NATSpeech
/
PortaSpeech
like
31
Runtime error
App
Files
Files
Community
377167e
PortaSpeech
/
utils
/
commons
/
single_thread_env.py
RayeRen
init
d1b91e7
almost 3 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'