Eren Gölge commited on
Commit
8b8606a
1 Parent(s): c68294e

Set vertical alignment

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -49,7 +49,7 @@ def tts(text: str, model_name: str, speaker_idx: str=None):
49
 
50
 
51
  article= """
52
- ### Visit us on <a href=https://coqui.ai>Coqui.ai</a> and drop a 🌟 to <a href=https://github.com/coqui-ai/TTS>CoquiTTS</a>.
53
 
54
  ### You can run CoquiTTS on your machine. Check out our <a href="https://tts.readthedocs.io/en/latest/inference.html">documentation</a>.
55
 
@@ -80,11 +80,11 @@ iface = gr.Interface(
80
  fn=tts,
81
  inputs=[
82
  gr.inputs.Textbox(
83
- label="Input",
84
  default="Hello, how are you?",
85
  ),
86
  gr.inputs.Radio(
87
- label="Pick a TTS Model",
88
  choices=MODEL_NAMES,
89
  ),
90
  # gr.inputs.Dropdown(label="Select a speaker", choices=SPEAKERS, default=None)
@@ -97,6 +97,7 @@ iface = gr.Interface(
97
  article=article,
98
  allow_flagging=False,
99
  flagging_options=['error', 'bad-quality', 'wrong-pronounciation'],
 
100
  live=False
101
  )
102
  iface.launch(share=False)
 
49
 
50
 
51
  article= """
52
+ ### Visit us on <a href=https://coqui.ai, target="_blank">Coqui.ai</a> and drop a 🌟 to <a href=https://github.com/coqui-ai/TTS target="_blank">CoquiTTS</a>.
53
 
54
  ### You can run CoquiTTS on your machine. Check out our <a href="https://tts.readthedocs.io/en/latest/inference.html">documentation</a>.
55
 
 
80
  fn=tts,
81
  inputs=[
82
  gr.inputs.Textbox(
83
+ label="Input Text",
84
  default="Hello, how are you?",
85
  ),
86
  gr.inputs.Radio(
87
+ label="Pick a TTS Model - (language/dataset/model_name)",
88
  choices=MODEL_NAMES,
89
  ),
90
  # gr.inputs.Dropdown(label="Select a speaker", choices=SPEAKERS, default=None)
 
97
  article=article,
98
  allow_flagging=False,
99
  flagging_options=['error', 'bad-quality', 'wrong-pronounciation'],
100
+ layout="vertical",
101
  live=False
102
  )
103
  iface.launch(share=False)