kevinwang676 commited on
Commit
67fabd5
ยท
1 Parent(s): 44ba64e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -294,12 +294,14 @@ while run_server:
294
  # Create Gradio Blocks
295
 
296
  with gr.Blocks(title=f"{APPTITLE}", mode=f"{APPTITLE}", theme=settings.selected_theme) as barkgui:
297
- gr.Markdown("# <center>[Bark Voice Cloning](https://github.com/KevinWang676/Bark-Voice-Cloning) ๐Ÿถ๐ŸŽถโญ</center>")
 
 
298
  with gr.Row():
299
  with gr.Column():
300
  gr.HTML(create_version_html(), elem_id="versions")
301
 
302
- with gr.Tab("Clone Voice"):
303
  with gr.Row():
304
  input_audio_filename = gr.Audio(label="Input audio.wav", source="upload", type="filepath")
305
  #transcription_text = gr.Textbox(label="Transcription Text", lines=1, placeholder="Enter Text of your Audio Sample here...")
@@ -316,7 +318,7 @@ while run_server:
316
  npz_file = gr.File(label=".npz file")
317
  speakers_list.insert(0, npz_file) # add prompt
318
 
319
- with gr.Tab("TTS"):
320
  with gr.Row():
321
  with gr.Column():
322
  placeholder = "Enter text here."
@@ -375,7 +377,7 @@ while run_server:
375
  ]
376
  examples = gr.Examples(examples=examples, inputs=input_text)
377
 
378
- with gr.Tab("Voice Conversion"):
379
  with gr.Row():
380
  swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
381
  with gr.Row():
 
294
  # Create Gradio Blocks
295
 
296
  with gr.Blocks(title=f"{APPTITLE}", mode=f"{APPTITLE}", theme=settings.selected_theme) as barkgui:
297
+ gr.Markdown("# <center>๐Ÿถ๐ŸŽถโญ - Bark Voice Cloning</center>")
298
+ gr.Markdown("### <center>๐Ÿค— - If you like this space, please star my github [repo](https://github.com/KevinWang676/Bark-Voice-Cloning)</center>")
299
+ gr.Markdown("### <center>๐ŸŽก - Based on [bark-gui](https://github.com/C0untFloyd/bark-gui)</center>")
300
  with gr.Row():
301
  with gr.Column():
302
  gr.HTML(create_version_html(), elem_id="versions")
303
 
304
+ with gr.Tab("๐ŸŽ™๏ธ - Clone Voice"):
305
  with gr.Row():
306
  input_audio_filename = gr.Audio(label="Input audio.wav", source="upload", type="filepath")
307
  #transcription_text = gr.Textbox(label="Transcription Text", lines=1, placeholder="Enter Text of your Audio Sample here...")
 
318
  npz_file = gr.File(label=".npz file")
319
  speakers_list.insert(0, npz_file) # add prompt
320
 
321
+ with gr.Tab("๐ŸŽต - TTS"):
322
  with gr.Row():
323
  with gr.Column():
324
  placeholder = "Enter text here."
 
377
  ]
378
  examples = gr.Examples(examples=examples, inputs=input_text)
379
 
380
+ with gr.Tab("๐Ÿ”ฎ - Voice Conversion"):
381
  with gr.Row():
382
  swap_audio_filename = gr.Audio(label="Input audio.wav to swap voice", source="upload", type="filepath")
383
  with gr.Row():