Created
September 21, 2021 01:03
-
-
Save Leticia-Carraro/fff555847675895777d604bb0cda9158 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Aqui estamos percorrendo um diretório com áudios e transcrevendo todos os áudios | |
que se encontram nele''' | |
for audio_file_name in os.listdir(audio_path): | |
transcript = google_transcribe(audio_path, audio_file_name, bucketname) | |
transcript_filename = audio_file_name.split('.')[0] + '.txt' | |
write_transcripts(test_file, transcript_filename,transcript) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment