Respair commited on
Commit
d3f7823
1 Parent(s): 4a6da64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks() as lj:
162
  with gr.Column(scale=1):
163
  ljbtn = gr.Button("Synthesize", variant="primary")
164
  ljaudio = gr.Audio(interactive=False, label="Synthesized Audio", waveform_options={'waveform_progress_color': '#3C82F6'})
165
- ljbtn.click(ljsynthesize, inputs=[ljinp, ljsteps], outputs=[ljaudio], concurrency_limit=4)
166
  with gr.Blocks(title="StyleTTS 2", css="footer{display:none !important}", theme=theme) as demo:
167
  gr.Markdown(INTROTXT)
168
  gr.DuplicateButton("Duplicate Space")
 
162
  with gr.Column(scale=1):
163
  ljbtn = gr.Button("Synthesize", variant="primary")
164
  ljaudio = gr.Audio(interactive=False, label="Synthesized Audio", waveform_options={'waveform_progress_color': '#3C82F6'})
165
+ ljbtn.click(ljsynthesize, inputs=[ljinp, ljsteps, embscale], outputs=[ljaudio], concurrency_limit=4)
166
  with gr.Blocks(title="StyleTTS 2", css="footer{display:none !important}", theme=theme) as demo:
167
  gr.Markdown(INTROTXT)
168
  gr.DuplicateButton("Duplicate Space")