Hi @raghava4u, thanks for the update. Unfortunately, most of your code is still being treated as plain text. To make it formatted as code, please put it in a code block by putting triple backticks ``` around it. Right now if I copy and paste your code to try it out it doesn’t work because when you pasted it as normal text, all of the quotes got converted to curly quotes. Pasting code within a code block is the only way to avoid your quotes and indentation being messed up that way.
See Using Streamlit: how to post a question in the Streamlit forum for more details.
Also, if your question is just: “Is this possible”, the answer is yes. If your question is: “Why isn’t this code working the way I expect”, could you please explain what the issue is?