Spaces:
Runtime error
Runtime error
Commit
·
eb1e73b
1
Parent(s):
cedc9a0
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def Transcribe_V1(NumberOfSpeakers, SpeakerNames="", audio="temp_audio.wav"):
|
|
139 |
|
140 |
|
141 |
def Transcribe_V2(num_speakers, speaker_names, audio="temp_audio.wav"):
|
142 |
-
model = whisper.load_model("
|
143 |
embedding_model = PretrainedSpeakerEmbedding(
|
144 |
"speechbrain/spkrec-ecapa-voxceleb",
|
145 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
139 |
|
140 |
|
141 |
def Transcribe_V2(num_speakers, speaker_names, audio="temp_audio.wav"):
|
142 |
+
model = whisper.load_model("large")
|
143 |
embedding_model = PretrainedSpeakerEmbedding(
|
144 |
"speechbrain/spkrec-ecapa-voxceleb",
|
145 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|