Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
AIGC-Audio/AudioGPT
z11h
/
AudioGPT
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
AudioGPT
/
text_to_speech
/
utils
/
commons
/
single_thread_env.py
z11h
Duplicate from AIGC-Audio/AudioGPT
5dacb9f
over 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
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'