kevinwang676 commited on
Commit
e1e0cb5
1 Parent(s): 0e4d3cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -312,7 +312,7 @@ while run_server:
312
  with gr.Column():
313
  tokenizerlang = gr.Dropdown(tokenizer_language_list, label="Base Language Tokenizer", value=tokenizer_language_list[1], visible=False)
314
  with gr.Row():
315
- clone_voice_button = gr.Button("Create Voice")
316
  with gr.Row():
317
  dummy = gr.Text(label="Progress")
318
  npz_file = gr.File(label=".npz file")
@@ -347,7 +347,7 @@ while run_server:
347
 
348
  with gr.Row():
349
  with gr.Column():
350
- tts_create_button = gr.Button("Generate")
351
  with gr.Column():
352
  hidden_checkbox = gr.Checkbox(visible=False)
353
  button_stop_generation = gr.Button("Stop generation")
@@ -388,7 +388,7 @@ while run_server:
388
  speaker_swap = gr.Dropdown(speakers_list, value=speakers_list[0], label="Voice (Choose “file” if you wanna use the custom voice)")
389
  swap_batchcount = gr.Number(label="Batch count", precision=0, value=1)
390
  with gr.Row():
391
- swap_voice_button = gr.Button("Generate")
392
  with gr.Row():
393
  output_swap = gr.Audio(label="Generated Audio", type="filepath")
394
 
 
312
  with gr.Column():
313
  tokenizerlang = gr.Dropdown(tokenizer_language_list, label="Base Language Tokenizer", value=tokenizer_language_list[1], visible=False)
314
  with gr.Row():
315
+ clone_voice_button = gr.Button("Create Voice", variant="primary")
316
  with gr.Row():
317
  dummy = gr.Text(label="Progress")
318
  npz_file = gr.File(label=".npz file")
 
347
 
348
  with gr.Row():
349
  with gr.Column():
350
+ tts_create_button = gr.Button("Generate", variant="primary")
351
  with gr.Column():
352
  hidden_checkbox = gr.Checkbox(visible=False)
353
  button_stop_generation = gr.Button("Stop generation")
 
388
  speaker_swap = gr.Dropdown(speakers_list, value=speakers_list[0], label="Voice (Choose “file” if you wanna use the custom voice)")
389
  swap_batchcount = gr.Number(label="Batch count", precision=0, value=1)
390
  with gr.Row():
391
+ swap_voice_button = gr.Button("Generate", variant="primary")
392
  with gr.Row():
393
  output_swap = gr.Audio(label="Generated Audio", type="filepath")
394