Spaces:
Build error
Build error
Update vc.py
Browse files
vc.py
CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks() as app:
|
|
95 |
with gr.Row():
|
96 |
gr.Markdown('''<H1> Audio Source:''')
|
97 |
with gr.Row():
|
98 |
-
|
99 |
with gr.Row():
|
100 |
with gr.Column():
|
101 |
|
@@ -117,6 +117,6 @@ with gr.Blocks() as app:
|
|
117 |
#in_aud_file.change(pre_aud,in_aud_file,aud_file)
|
118 |
load_yt_btn.click(load_video_yt, in_aud_yt, [yt_vid,in_aud_file,aud_file])
|
119 |
trim_clip_btn.click(trim_clip,[in_aud_file, start_time, end_time],trim_aud)
|
120 |
-
alt_go_btn.click(custom_bark, [in_text,in_aud_file,trim_aud], out_audio)
|
121 |
|
122 |
app.launch()
|
|
|
95 |
with gr.Row():
|
96 |
gr.Markdown('''<H1> Audio Source:''')
|
97 |
with gr.Row():
|
98 |
+
tog = gr.Radio(label="Input Type", choices=["Preset","Custom"], value="Preset")
|
99 |
with gr.Row():
|
100 |
with gr.Column():
|
101 |
|
|
|
117 |
#in_aud_file.change(pre_aud,in_aud_file,aud_file)
|
118 |
load_yt_btn.click(load_video_yt, in_aud_yt, [yt_vid,in_aud_file,aud_file])
|
119 |
trim_clip_btn.click(trim_clip,[in_aud_file, start_time, end_time],trim_aud)
|
120 |
+
alt_go_btn.click(custom_bark, [in_text,tog,in_aud_file,trim_aud], out_audio)
|
121 |
|
122 |
app.launch()
|