mrfakename commited on
Commit
dca07a4
1 Parent(s): 4cbfe7b

Make button blue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ Is there a long queue on this space? Duplicate it and add a GPU to skip the wait
39
  inp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
40
  voice = gr.Dropdown(['Angie', 'Daniel', 'Tom', 'LJ', 'Pat', 'Tom', 'Dotrice', 'Mouse', 'William'], label="Voice", info="Select a voice. We use some voices from Tortoise TTS.", value='Tom', interactive=True)
41
  with gr.Column(scale=1):
42
- btn = gr.Button("Synthesize")
43
  audio = gr.Audio(interactive=False, label="Synthesized Audio")
44
  btn.click(synthesize, inputs=[inp, voice], outputs=[audio], concurrency_limit=4)
45
 
 
39
  inp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
40
  voice = gr.Dropdown(['Angie', 'Daniel', 'Tom', 'LJ', 'Pat', 'Tom', 'Dotrice', 'Mouse', 'William'], label="Voice", info="Select a voice. We use some voices from Tortoise TTS.", value='Tom', interactive=True)
41
  with gr.Column(scale=1):
42
+ btn = gr.Button("Synthesize", variant="primary")
43
  audio = gr.Audio(interactive=False, label="Synthesized Audio")
44
  btn.click(synthesize, inputs=[inp, voice], outputs=[audio], concurrency_limit=4)
45