test app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ description = "Speaker Diarization is the act of attributing parts of the audio
|
|
26 |
article = "<p style='text-align: center'><a href='https://github.com/pyannote/pyannote-audio' target='_blank'>[1] Pyannote - Speaker Diarization model</a></p>"
|
27 |
|
28 |
app = gr.Interface(fn=diarization,
|
29 |
-
inputs=gr.inputs.Audio(source="upload", type="
|
30 |
outputs=gr.outputs.Textbox(type="auto", label="OUTPUT"),
|
31 |
examples=[["test_audio1.wav"]],
|
32 |
title=title,
|
|
|
26 |
article = "<p style='text-align: center'><a href='https://github.com/pyannote/pyannote-audio' target='_blank'>[1] Pyannote - Speaker Diarization model</a></p>"
|
27 |
|
28 |
app = gr.Interface(fn=diarization,
|
29 |
+
inputs=gr.inputs.Audio(source="upload", type="filepath", label="Upload your audio file here:"),
|
30 |
outputs=gr.outputs.Textbox(type="auto", label="OUTPUT"),
|
31 |
examples=[["test_audio1.wav"]],
|
32 |
title=title,
|