Skip to content

Errors while running the code.!! #3

@Raj-CS5012

Description

@Raj-CS5012

Error One:

AssertionError Traceback (most recent call last)
Input In [1], in <cell line: 121>()
125 warnings.filterwarnings("ignore")
127 speakerDiarisation = SpeakerDiarisation(file_name)
--> 129 audio_format = speakerDiarisation.identifyFormat()
130 #print(audio_format)
132 response = speakerDiarisation.request(audio_format)

Input In [1], in SpeakerDiarisation.identifyFormat(self)
26 elif not file_extension:
27 error = file_name + file_extension + ' is either a directory or not a valid file'
---> 28 raise AssertionError(error)
29 else:
30 error = 'File extension ' + file_extension + ' not valid'

AssertionError: -f is either a directory or not a valid file

Error Two
import librosa
ModuleNotFoundError: No module named 'librosa'

I appreciate if someone can help me in fixing the issues..!!
Thank you well in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions