fixed wrong Transcript class params
This commit is contained in:
@@ -86,7 +86,7 @@ class AutoTranscribe:
|
|||||||
final_transcript[i] = {"speaker" : diarisation["speakers"][i],
|
final_transcript[i] = {"speaker" : diarisation["speakers"][i],
|
||||||
"text" : transcript}
|
"text" : transcript}
|
||||||
|
|
||||||
return Transcript(transcript, diarisation)
|
return Transcript(final_transcript)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_audiofile(audiofile : Union[str, torch.Tensor],
|
def get_audiofile(audiofile : Union[str, torch.Tensor],
|
||||||
|
|||||||
Reference in New Issue
Block a user