Spaces:
Runtime error
Runtime error
Commit
·
c5e6947
1
Parent(s):
af9ce0c
Update app.py
Browse files
app.py
CHANGED
|
@@ -294,9 +294,8 @@ 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 |
with gr.Row():
|
| 298 |
-
with gr.Column():
|
| 299 |
-
gr.Markdown(f"### [{APPTITLE}](https://github.com/KevinWang676/Bark-Voice-Cloning)")
|
| 300 |
with gr.Column():
|
| 301 |
gr.HTML(create_version_html(), elem_id="versions")
|
| 302 |
|
|
@@ -307,9 +306,9 @@ while run_server:
|
|
| 307 |
with gr.Row():
|
| 308 |
with gr.Column():
|
| 309 |
initialname = "/home/user/app/bark/assets/prompts/file"
|
| 310 |
-
output_voice = gr.Textbox(label="Filename of trained Voice (do not change the initial name)", lines=1, placeholder=initialname, value=initialname)
|
| 311 |
with gr.Column():
|
| 312 |
-
tokenizerlang = gr.Dropdown(tokenizer_language_list, label="Base Language Tokenizer", value=tokenizer_language_list[1])
|
| 313 |
with gr.Row():
|
| 314 |
clone_voice_button = gr.Button("Create Voice")
|
| 315 |
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(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 |
|
|
|
|
| 306 |
with gr.Row():
|
| 307 |
with gr.Column():
|
| 308 |
initialname = "/home/user/app/bark/assets/prompts/file"
|
| 309 |
+
output_voice = gr.Textbox(label="Filename of trained Voice (do not change the initial name)", lines=1, placeholder=initialname, value=initialname, visible=False)
|
| 310 |
with gr.Column():
|
| 311 |
+
tokenizerlang = gr.Dropdown(tokenizer_language_list, label="Base Language Tokenizer", value=tokenizer_language_list[1], visible=False)
|
| 312 |
with gr.Row():
|
| 313 |
clone_voice_button = gr.Button("Create Voice")
|
| 314 |
with gr.Row():
|