Spaces:
Sleeping
Sleeping
Commit
·
7985526
1
Parent(s):
02efbb2
add refresh button (#1)
Browse files- add refresh button (92f1e954ddd9bedc4689fb361337db71d4cb454b)
Co-authored-by: Leandro von Werra <lvwerra@users.noreply.huggingface.co>
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()
|