Spaces:
Build error
Build error
Olivier-Truong
commited on
Commit
•
a83a001
1
Parent(s):
e4f5378
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,10 @@ import gradio as gr
|
|
8 |
from TTS.api import TTS
|
9 |
|
10 |
model_names = TTS().list_models()
|
11 |
-
m = model_names[0]
|
12 |
print(model_names)
|
|
|
|
|
|
|
13 |
tts = TTS(m, gpu=False)
|
14 |
tts.to("cpu") # no GPU or Amd
|
15 |
#tts.to("cuda") # cuda only
|
|
|
8 |
from TTS.api import TTS
|
9 |
|
10 |
model_names = TTS().list_models()
|
|
|
11 |
print(model_names)
|
12 |
+
print(model_names.__dir__())
|
13 |
+
m = model_names[0]
|
14 |
+
|
15 |
tts = TTS(m, gpu=False)
|
16 |
tts.to("cpu") # no GPU or Amd
|
17 |
#tts.to("cuda") # cuda only
|