Spaces:
Build error
Build error
kabita-choudhary
commited on
Commit
•
1c463a3
1
Parent(s):
f10e069
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
|
|
3 |
from pyannote.audio import Pipeline
|
4 |
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization",use_auth_token="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")
|
5 |
def diarization(inp_audio):
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
+
from pydub import AudioSegment
|
4 |
from pyannote.audio import Pipeline
|
5 |
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization",use_auth_token="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")
|
6 |
def diarization(inp_audio):
|