Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,10 @@ def inference(audio_file):
|
|
20 |
inputs = gr.inputs.Audio(label="Input Audio", type="filepath", source="microphone")
|
21 |
outputs = gr.outputs.Textbox(label="Voice timestamps", type="auto")
|
22 |
title = "Voice Activity Detection"
|
23 |
-
description = "Record or upload an audio file and detected voices will be timestamped
|
|
|
24 |
examples = ['talk.wav', 'talk2.wav', 'silence.wav', ]
|
25 |
-
|
26 |
|
27 |
gr.Interface(inference,
|
28 |
inputs,
|
|
|
20 |
inputs = gr.inputs.Audio(label="Input Audio", type="filepath", source="microphone")
|
21 |
outputs = gr.outputs.Textbox(label="Voice timestamps", type="auto")
|
22 |
title = "Voice Activity Detection"
|
23 |
+
description = "<p style='text-align: center'>Record or upload an audio file and detected voices will be timestamped.</p>"
|
24 |
+
article = "<p style='text-align: center'>Model by pyannote, https://github.com/pyannote/pyannote-audio</p>"
|
25 |
examples = ['talk.wav', 'talk2.wav', 'silence.wav', ]
|
26 |
+
|
27 |
|
28 |
gr.Interface(inference,
|
29 |
inputs,
|