Spaces:
Runtime error
Runtime error
Commit
·
ed868f3
1
Parent(s):
18759e9
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def Transcribe(NumberOfSpeakers, SpeakerNames="", audio="temp_audio.wav"):
|
|
150 |
|
151 |
def Transcribe_V2(num_speakers, speaker_names, audio="temp_audio.wav"):
|
152 |
SPEAKER_DICT = {}
|
153 |
-
SPEAKERS = [speaker.strip() for speaker in
|
154 |
def GetSpeaker(sp):
|
155 |
speaker = sp
|
156 |
if sp not in list(SPEAKER_DICT.keys()):
|
|
|
150 |
|
151 |
def Transcribe_V2(num_speakers, speaker_names, audio="temp_audio.wav"):
|
152 |
SPEAKER_DICT = {}
|
153 |
+
SPEAKERS = [speaker.strip() for speaker in speaker_names.split(',')]
|
154 |
def GetSpeaker(sp):
|
155 |
speaker = sp
|
156 |
if sp not in list(SPEAKER_DICT.keys()):
|