baguioni commited on
Commit
c5534e4
1 Parent(s): f7451c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ model = gr.Interface.load("huggingface/pyannote/voice-activity-detection")
4
 
5
  def inference(audio_file):
6
  output = model(audio_file)
 
7
 
8
  inputs = gr.inputs.Audio(label="Input Audio", type="filepath", source="microphone")
9
  outputs = gr.outputs.Label(type="auto", label = "Voice timestamps")
 
4
 
5
  def inference(audio_file):
6
  output = model(audio_file)
7
+ return output
8
 
9
  inputs = gr.inputs.Audio(label="Input Audio", type="filepath", source="microphone")
10
  outputs = gr.outputs.Label(type="auto", label = "Voice timestamps")