Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,14 @@ def run_bark(text, n, lang):
|
|
37 |
with gr.Blocks() as app:
|
38 |
with gr.Column():
|
39 |
in_text = gr.Textbox()
|
40 |
-
with gr.
|
41 |
speaker_num = gr.Dropdown(label="Speaker Voice", choices=num_list,value="1")
|
42 |
speaker_lang = gr.Dropdown(label="Speaker Language", choices=lang_list,value="en")
|
43 |
-
|
|
|
|
|
|
|
|
|
44 |
#speaker_num = gr.Number(value=0)
|
45 |
go_btn = gr.Button()
|
46 |
|
|
|
37 |
with gr.Blocks() as app:
|
38 |
with gr.Column():
|
39 |
in_text = gr.Textbox()
|
40 |
+
with gr.Tab("Default"):
|
41 |
speaker_num = gr.Dropdown(label="Speaker Voice", choices=num_list,value="1")
|
42 |
speaker_lang = gr.Dropdown(label="Speaker Language", choices=lang_list,value="en")
|
43 |
+
with gr.Tab("Upload"):
|
44 |
+
in_aud_mic = gr.Audio(source='microphone')
|
45 |
+
in_aud_file = gr.Audio(source='upload')
|
46 |
+
in_aud_yout = gr.Textbox(label="YouTube URL")
|
47 |
+
yout_vid = gr.Video()
|
48 |
#speaker_num = gr.Number(value=0)
|
49 |
go_btn = gr.Button()
|
50 |
|