Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
AIGC-Audio
/
AudioGPT
like
287
Build error
App
Files
Files
Community
8
9e43f21
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'