Choropleth Maps while creating a multipage app, throws value error

image

I am creating a multi-page App, where Choro Pleth Maps is one such page. (Accessing via a single radio-button value)
PS: Choropleth code works well individually, but not in the multipage app.