Unable to deploy my app

The app runs perfectly on my local machine.

but i’m getting this error:

[18:33:28] 📦 Processed dependencies!
Usage: streamlit run [OPTIONS] TARGET [ARGS]...
Try 'streamlit run --help' for help.
Error: Streamlit requires raw Python (.py) files, but the provided file has no extension.
For more information, please see https://docs.streamlit.io
[18:35:13] ❗️ Streamlit server consistently failed status checks
[18:35:13] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

My github repo of the app is: GitHub - karan51ngh/TitanicPassangerSurvivalPredictor

Link for the streamlit app is: https://karan51ngh-titanicpassangersurvivalpre-survivalpredictor-c37yw8.streamlitapp.com/

Any help is greatly appreciated!

Hey guys, i fixed it!

the problem was, my files name was ‘Survival Predictor.py’, so i guess the ’ ’ space character was messing around.

fixed it by adding an underscore and renaming the file to ‘Survival_Predictor.py’