Cahlil commited on
Commit
1b919f4
1 Parent(s): 051dd7c

test app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file", label="Upload your audio file here:"),
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,