ylacombe HF staff commited on
Commit
baccf9b
1 Parent(s): e9c1685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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