Map Co-Ordinates not appearing when using

I was just experimenting with the and I was not getting the expected result. I just get a blank without any points being plotted. Requesting the community to guide me.
I have implemented the following:
I have already taken the dataframe input using file_uploader

                        lat= st.selectbox("Select Latitudes column " , df.columns, key="8")
                        long=st.selectbox("Select Longitudes column " , df.columns, key="9")
                        temp=pd.DataFrame(d,columns=['lat', 'lon'])
                    except (ValueError,TypeError):
                        st.error("The selected column is not in a Co-Ordinates format. Please Select a valid Column.")