Commit
·
9fa5bcc
1
Parent(s):
84451af
app.py updates
Browse files
app.py
CHANGED
@@ -61,7 +61,9 @@ with ds[r]['image'] as img:
|
|
61 |
st.experimental_rerun()
|
62 |
|
63 |
|
64 |
-
|
|
|
|
|
65 |
r=np.random.randint(100)
|
66 |
current_image=ds[r]['image']
|
67 |
st.write(str(r))
|
|
|
61 |
st.experimental_rerun()
|
62 |
|
63 |
|
64 |
+
st.button('Random frame', on_click=button_click)
|
65 |
+
|
66 |
+
def button_click():
|
67 |
r=np.random.randint(100)
|
68 |
current_image=ds[r]['image']
|
69 |
st.write(str(r))
|