awacke1 commited on
Commit
4a2630b
·
verified ·
1 Parent(s): 190cd1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ def main():
138
  time.sleep(1)
139
  if i == 1:
140
  st.session_state.current_index = random.randint(0, len(quotes)-1)
141
- st.experimental_rerun()
142
 
143
  if __name__ == "__main__":
144
  main()
 
138
  time.sleep(1)
139
  if i == 1:
140
  st.session_state.current_index = random.randint(0, len(quotes)-1)
141
+ st.rerun()
142
 
143
  if __name__ == "__main__":
144
  main()