Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
lenML/ChatTTS-Forge
chenjacky131
/
ChatTTS-Forge
like
0
Sleeping
App
Files
Files
Community
95e0218
ChatTTS-Forge
/
modules
/
utils
/
hf.py
zhzluke96
update
627d3d7
6 months ago
raw
Copy download link
history
blame
Safe
270 Bytes
# 给huggingface space写的兼容代码
try
:
import
spaces
is_spaces_env =
True
except
:
class
NoneSpaces
:
def
__init__
(
self
):
pass
def
GPU
(
self, fn
):
return
fn
spaces = NoneSpaces()
is_spaces_env =
False