Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
AIGC-Audio
/
AudioGPT
like
289
Build error
App
Files
Files
Community
8
3d2e945
AudioGPT
/
text_to_speech
/
utils
/
commons
/
single_thread_env.py
lmzjms
Upload 591 files
9206300
over 1 year 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'