For the latest error you got on "ModuleNotFoundError: No module named 'app'", will you please try the following:
- In your Web App, click Deployment -> Deployment Center, then open Logs section to see if there were any deployment failures (very likely, yes).
- After that, click Sync button as shown below, wait for its completion and verify that the latest status is Success (Active). If yes, please restart the Web App and test it again. Hopefully, it will resolve the issue.