awacke1 commited on
Commit
0636add
·
1 Parent(s): a353a48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,5 +42,6 @@ def update_data(df):
42
  for i in range(10): # Loop for 10 iterations
43
  df = update_data(df)
44
  fig = create_sunburst_plot(df)
45
- st.plotly_chart(fig)
46
- time.sleep(1) # Sleep for 1 second
 
 
42
  for i in range(10): # Loop for 10 iterations
43
  df = update_data(df)
44
  fig = create_sunburst_plot(df)
45
+ st.plot(create_sunburst_plot(df))
46
+ st.plotly_chart(create_sunburst_plot(df))
47
+ time.sleep(5) # Sleep for 5 seconds