Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
ยท
67fabd5
1
Parent(s):
44ba64e
Update app.py
Browse files
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
|
|
|
|
|
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():
|