def GenerateAudio(text, output_path, audio_accent): print "Generating Audio." ttsKey = gTTS(text=text, lang=audio_accent) ttsKey.save(output_path)