The thing is that the speech_recognition module in python3 keeps listening and does not advance further in the code... Here it is: -
speech_recognition
import speec