Help needed for Shiny app with the code

Welcome and sorry about the troubles you're having with your Shiny app.
Right now this isn't much to go on. It's not clear what help you need with your Shiny app. And then the app provided isn't a minimal reproducible example.

Barret's debugging and reprex guide is a good place to start.

If you need to follow-up here, please do with a shiny reprex. For example your app refers to a file that we don't have access to, you can set up a small version of that with something like dput.