Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|