How to "rerun" Gradio app for every new browser tab?

I am utilizing Gradio in conjunction with langchain and have observed that the current setup shares a single langchain memory object among all the browser tabs accessing the Gradio app. Is there a way to configure the app to restart for each new tab, ensuring that each tab maintains its own distinct langchain memory object?

Your assistance is greatly appreciated!

Yes, this is possible. Please take a look here: State In Blocks