clementruhm commited on
Commit
2d5fa2d
1 Parent(s): bfa05ac

Update balacoon-tts version

Browse files
Files changed (2) hide show
  1. app.py +2 -7
  2. requirements.txt +1 -1
app.py CHANGED
@@ -61,14 +61,9 @@ def main():
61
  global tts
62
  tts = TTS(model_path)
63
  speakers = tts.get_speakers()
64
- if speakers:
65
- visible = True
66
- value = speakers[-1]
67
- else:
68
- visible = False
69
- value = ""
70
  return gr.Dropdown.update(
71
- choices=speakers, value=value, visible=visible
72
  )
73
 
74
  model_name.change(set_model, inputs=model_name, outputs=speaker)
 
61
  global tts
62
  tts = TTS(model_path)
63
  speakers = tts.get_speakers()
64
+ value = speakers[-1]
 
 
 
 
 
65
  return gr.Dropdown.update(
66
+ choices=speakers, value=value, visible=True
67
  )
68
 
69
  model_name.change(set_model, inputs=model_name, outputs=speaker)
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  --index-url https://pypi.fury.io/balacoon/
2
  --extra-index-url https://pypi.org/simple/
3
- balacoon-tts==0.0.2
4
  huggingface_hub
5
  numpy
 
1
  --index-url https://pypi.fury.io/balacoon/
2
  --extra-index-url https://pypi.org/simple/
3
+ balacoon-tts==0.1.0
4
  huggingface_hub
5
  numpy