Using deepspeech outside the parent direcrtory

Im a noob to python. I’m trying to build a streamlit web app to record audio and fine tune deepspeech model for my local english accent. currently, I’m trying to integrate the fine-tuning part to my streamlit app.I tried calling the bash script for training from outside. But it is not possible to do as deepspeech wants to run the training code inside top-level directory. can someone help me with this? how can I sort out this issue ?
apologies if this has already been asked and I’m spamming the discourse