Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,6 @@ def generate_audio(text, language):
|
|
57 |
|
58 |
pipe_dict["pipe"] = [pipeline("text-to-speech", model=l[1], device=0) for l in models_per_language["english"]]
|
59 |
|
60 |
-
num_speakers = pipe_dict["pipe"].model.config.num_speakers
|
61 |
|
62 |
out = []
|
63 |
# first generate original model result
|
|
|
57 |
|
58 |
pipe_dict["pipe"] = [pipeline("text-to-speech", model=l[1], device=0) for l in models_per_language["english"]]
|
59 |
|
|
|
60 |
|
61 |
out = []
|
62 |
# first generate original model result
|