Synchronized pages

I built a simple streamlit multipage app in my company with 4 pages.
each shows a big kpi in the center of the screen and this is shown in four different screens of the company.
so a screen shows app/page1
another shows app/page2

now i want to implement the following:

loop through a list in main app, for example [A,B,C]
if index is A, then show A in page1 and page2
sleep for 5 seconds, switch to index B
show B in page 1 and page 2

it’s like a synchronized carousel.

how can i achieve this?

Hi @kiko249

I think you can achieve this by using if/else conditionals, consider the following pseudo-code:

if <condition>:
   <do something>
   <perform alternative task>