How to deploy ML model with preprocessing steps in cloud for flutter app?

I have a 2 ML models which take audio data and denoise it.I want to made and app with this functionality. But In the process of denoising it’ll take the input audio data preprocess it and give to one ML model after do some numpy statistic operations and then give to another another ML model after that do some process finally I will get my desired output.

I want to deploy this in app through cloud. How can I do this? When I checking firebase they want one tflite file directly but I need to do some processing before and after the model . Is there any way completed my desired output to deploy in android app?

Source: Python Questions