I'm doing the Speech to Text in python. I have mentioned the no.of seconds to take as 500 as I want a continuous speech recognition, but the voice recording is taking only for 5 seconds. So I'm doubting whether it is with the wit api or with my code.
def RecSpeech(AUDIO, no.of_seconds = 500):
record_audio(no.of_seconds, AUDIO)
audio = read_audio(AUDIO)