Open MedAmine-SUDO opened 3 years ago
Hey @MedAmine-SUDO , the api was in beta testing when I used it. Probably you need to check the updated documentation for the specific API. Most probably the AudioEncoding might not be accessible with enums attribute. Here: Documentation.
I would also suggest to upgrade the google-cloud-speech
package.
Hi, I was trying to run the project and I keep getting this error: Traceback (most recent call last): File "./speaker_diarization.py", line 69, in
transcribe_gcs(args.path)
File "./speaker_diarization.py", line 18, in transcribe_gcs
encoding = speech.enums.RecognitionConfig.AudioEncoding.LINEAR16,
AttributeError: module 'google.cloud.speech_v1p1beta1' has no attribute 'enums'
Any help ?