Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tykiww
/
TTS_Demo
like
0
Running
on
Zero
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d33f32d
TTS_Demo
/
app.py
tykiww
Create app.py
d33f32d
verified
8 months ago
raw
Copy download link
history
blame
Safe
140 Bytes
from
TTS.api
import
TTS
import
gradio
as
gr
# Initialize the TTS model
tts = TTS(
"tts_models/multilingual/multi-dataset/xtts_v2"
, gpu=
True
)