I am currently using RASA and developed a working chatbot. One part of my project is to use a speech-to-text recognition, and I wrote a working code in Python that returns the text said by the user. 
I want to use that text for RASA’s input, instead of writing like usual. 

I saw there was something to do with the inputs channels, but I only saw input that are other webservices and couldn’t figure it out for using just a local script. 

Thank you for any advice, 

LM