Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,6 +51,9 @@ def diarize_aud(file_name):
|
|
51 |
with gr.Blocks() as app:
|
52 |
inp_url=gr.Textbox()
|
53 |
btn=gr.Button()
|
|
|
54 |
outp_aud=gr.Audio()
|
|
|
55 |
btn.click(dl,inp_url,outp_aud)
|
|
|
56 |
app.launch()
|
|
|
51 |
with gr.Blocks() as app:
|
52 |
inp_url=gr.Textbox()
|
53 |
btn=gr.Button()
|
54 |
+
btn2=gr.Button("diarize")
|
55 |
outp_aud=gr.Audio()
|
56 |
+
outp_diary=gr.Textbox()
|
57 |
btn.click(dl,inp_url,outp_aud)
|
58 |
+
btn2.click(diarize_aud,outp_aud,outp_diary)
|
59 |
app.launch()
|