Spaces:
Runtime error
Runtime error
nithinraok
commited on
Commit
•
a5f123f
1
Parent(s):
feba9aa
Update app.py
Browse files
app.py
CHANGED
@@ -15,14 +15,13 @@ def run_diarization(path1):
|
|
15 |
start_time, duration, speaker = split[3], split[4], split[7]
|
16 |
end_time = float(start_time) + float(duration)
|
17 |
df.loc[idx] = start_time, end_time, speaker
|
18 |
-
return df
|
19 |
|
20 |
inputs = [
|
21 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Input Audio"),
|
22 |
]
|
23 |
output = gr.outputs.Dataframe()
|
24 |
|
25 |
-
|
26 |
description = (
|
27 |
"This demonstration will perform offline speaker diarization on an audio file using nemo"
|
28 |
)
|
|
|
15 |
start_time, duration, speaker = split[3], split[4], split[7]
|
16 |
end_time = float(start_time) + float(duration)
|
17 |
df.loc[idx] = start_time, end_time, speaker
|
18 |
+
return df
|
19 |
|
20 |
inputs = [
|
21 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Input Audio"),
|
22 |
]
|
23 |
output = gr.outputs.Dataframe()
|
24 |
|
|
|
25 |
description = (
|
26 |
"This demonstration will perform offline speaker diarization on an audio file using nemo"
|
27 |
)
|