Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ diarization_pipe = Pipeline.from_pretrained("pyannote/speaker-diarization@2.1",
|
|
11 |
|
12 |
|
13 |
# Load the speech-to-text model (Whisper)
|
14 |
-
asr_pipe = pipeline("automatic-speech-recognition", model="
|
15 |
|
16 |
def transcribe_with_diarization(audio_path):
|
17 |
# Get speaker segments using the diarization model
|
|
|
11 |
|
12 |
|
13 |
# Load the speech-to-text model (Whisper)
|
14 |
+
asr_pipe = pipeline("automatic-speech-recognition", model="SyedAunZaidi/whisper-small-hi")
|
15 |
|
16 |
def transcribe_with_diarization(audio_path):
|
17 |
# Get speaker segments using the diarization model
|