mrfakename commited on
Commit
cf9af86
1 Parent(s): 46e08d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks() as vctk: # just realized it isn't vctk but libritts but i'm too
97
  with gr.Column(scale=1):
98
  inp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
99
  voice = gr.Dropdown(voicelist, label="Voice", info="Select a default voice.", value='m-us-2', interactive=True)
100
- multispeakersteps = gr.Slider(minimum=3, maximum=15, value=7, step=1, label="Diffusion Steps", info="Higher = better quality, but slower", interactive=True)
101
  # use_gruut = gr.Checkbox(label="Use alternate phonemizer (Gruut) - Experimental")
102
  with gr.Column(scale=1):
103
  btn = gr.Button("Synthesize", variant="primary")
@@ -108,7 +108,7 @@ with gr.Blocks() as clone:
108
  with gr.Column(scale=1):
109
  clinp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
110
  clvoice = gr.Audio(label="Voice", interactive=True, type='filepath', max_length=300)
111
- vcsteps = gr.Slider(minimum=3, maximum=20, value=20, step=1, label="Diffusion Steps", info="Higher = better quality, but slower", interactive=True)
112
  with gr.Column(scale=1):
113
  clbtn = gr.Button("Synthesize", variant="primary")
114
  claudio = gr.Audio(interactive=False, label="Synthesized Audio")
@@ -128,7 +128,7 @@ with gr.Blocks() as lj:
128
  with gr.Row():
129
  with gr.Column(scale=1):
130
  ljinp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
131
- ljsteps = gr.Slider(minimum=3, maximum=20, value=20, step=1, label="Diffusion Steps", info="Higher = better quality, but slower", interactive=True)
132
  with gr.Column(scale=1):
133
  ljbtn = gr.Button("Synthesize", variant="primary")
134
  ljaudio = gr.Audio(interactive=False, label="Synthesized Audio")
 
97
  with gr.Column(scale=1):
98
  inp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
99
  voice = gr.Dropdown(voicelist, label="Voice", info="Select a default voice.", value='m-us-2', interactive=True)
100
+ multispeakersteps = gr.Slider(minimum=3, maximum=15, value=7, step=1, label="Diffusion Steps", info="Theoretically, higher should be better quality but slower, but we cannot notice a difference. Try with lower steps first - it is faster", interactive=True)
101
  # use_gruut = gr.Checkbox(label="Use alternate phonemizer (Gruut) - Experimental")
102
  with gr.Column(scale=1):
103
  btn = gr.Button("Synthesize", variant="primary")
 
108
  with gr.Column(scale=1):
109
  clinp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
110
  clvoice = gr.Audio(label="Voice", interactive=True, type='filepath', max_length=300)
111
+ vcsteps = gr.Slider(minimum=3, maximum=20, value=20, step=1, label="Diffusion Steps", info="Theoretically, higher should be better quality but slower, but we cannot notice a difference. Try with lower steps first - it is faster", interactive=True)
112
  with gr.Column(scale=1):
113
  clbtn = gr.Button("Synthesize", variant="primary")
114
  claudio = gr.Audio(interactive=False, label="Synthesized Audio")
 
128
  with gr.Row():
129
  with gr.Column(scale=1):
130
  ljinp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
131
+ ljsteps = gr.Slider(minimum=3, maximum=20, value=3, step=1, label="Diffusion Steps", info="Theoretically, higher should be better quality but slower, but we cannot notice a difference. Try with lower steps first - it is faster", interactive=True)
132
  with gr.Column(scale=1):
133
  ljbtn = gr.Button("Synthesize", variant="primary")
134
  ljaudio = gr.Audio(interactive=False, label="Synthesized Audio")