add refresh button

#1
by lvwerra HF staff - opened
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -125,4 +125,7 @@ for name, _ in name2repo[::-1]:
125
  height += name2num_milestones[name]
126
  fig.add_hline(y=height, line_width=1, line_color="grey")
127
 
128
- st.plotly_chart(fig, use_container_width=True)
 
 
 
 
125
  height += name2num_milestones[name]
126
  fig.add_hline(y=height, line_width=1, line_color="grey")
127
 
128
+ st.plotly_chart(fig, use_container_width=True)
129
+
130
+ if st.button("Refresh"):
131
+ st.experimental_rerun()