Spaces:
Running
Running
kevinwang676
commited on
Commit
•
bdb58ec
1
Parent(s):
6a88c30
Update app_multi.py
Browse files- app_multi.py +6 -6
app_multi.py
CHANGED
@@ -637,8 +637,9 @@ with app:
|
|
637 |
new_song = gr.Audio(label="AI歌手+伴奏", type="filepath")
|
638 |
|
639 |
with gr.Tab('🎙️ - 文本转语音'):
|
640 |
-
tts_input = gr.
|
641 |
-
label='请填写您想要转换的文本'
|
|
|
642 |
)
|
643 |
tts_speaker = gr.Dropdown(
|
644 |
[
|
@@ -648,11 +649,11 @@ with app:
|
|
648 |
)
|
649 |
for s in tts_speakers_list
|
650 |
],
|
651 |
-
label='
|
652 |
type='index'
|
653 |
)
|
654 |
|
655 |
-
tts_convert_btn = gr.Button('
|
656 |
|
657 |
with gr.Tab("📺 - 音乐视频"):
|
658 |
with gr.Row():
|
@@ -725,8 +726,7 @@ with app:
|
|
725 |
for m in loaded_models
|
726 |
],
|
727 |
label='Model',
|
728 |
-
type='index'
|
729 |
-
value=3
|
730 |
)
|
731 |
|
732 |
# Model info
|
|
|
637 |
new_song = gr.Audio(label="AI歌手+伴奏", type="filepath")
|
638 |
|
639 |
with gr.Tab('🎙️ - 文本转语音'):
|
640 |
+
tts_input = gr.Textbox(
|
641 |
+
label='请填写您想要转换的文本(中英皆可)',
|
642 |
+
lines=3
|
643 |
)
|
644 |
tts_speaker = gr.Dropdown(
|
645 |
[
|
|
|
649 |
)
|
650 |
for s in tts_speakers_list
|
651 |
],
|
652 |
+
label='请选择一个相应语言的说话人',
|
653 |
type='index'
|
654 |
)
|
655 |
|
656 |
+
tts_convert_btn = gr.Button('进行AI变声吧', variant='primary')
|
657 |
|
658 |
with gr.Tab("📺 - 音乐视频"):
|
659 |
with gr.Row():
|
|
|
726 |
for m in loaded_models
|
727 |
],
|
728 |
label='Model',
|
729 |
+
type='index'
|
|
|
730 |
)
|
731 |
|
732 |
# Model info
|