Unable to change python version during fork the app

My model only works on python 3.9 but the streamlit have default version of 3.11 so my app is not working on it. I also tried the version from fork app option but when I save the option and when I checked in codespace. It is still showing python 3.11

When deploying your app on Community Cloud, you have the option to choose the Python version.