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