Spaces:
Runtime error
Runtime error
update model
Browse files
app.py
CHANGED
@@ -7,9 +7,10 @@ import gradio as gr
|
|
7 |
from TTS.api import TTS
|
8 |
|
9 |
model_names = TTS().list_models()
|
10 |
-
m = model_names[
|
11 |
print(model_names)
|
12 |
print(os.system("pip show TTS"))
|
|
|
13 |
tts = TTS(m, gpu=False)
|
14 |
tts.to("cpu") # no GPU or Amd
|
15 |
#tts.to("cuda") # cuda only
|
|
|
7 |
from TTS.api import TTS
|
8 |
|
9 |
model_names = TTS().list_models()
|
10 |
+
m = model_names[1]
|
11 |
print(model_names)
|
12 |
print(os.system("pip show TTS"))
|
13 |
+
print(f"Model: {m}")
|
14 |
tts = TTS(m, gpu=False)
|
15 |
tts.to("cpu") # no GPU or Amd
|
16 |
#tts.to("cuda") # cuda only
|