Commit
·
84451af
1
Parent(s):
f668f8e
app.py updates
Browse files
app.py
CHANGED
@@ -61,10 +61,10 @@ with ds[r]['image'] as img:
|
|
61 |
st.experimental_rerun()
|
62 |
|
63 |
|
64 |
-
if st.button('Random frame'):
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
#else:
|
70 |
# st.write('Gohuhuhubye')
|
|
|
61 |
st.experimental_rerun()
|
62 |
|
63 |
|
64 |
+
if st.button('Random frame'):
|
65 |
+
r=np.random.randint(100)
|
66 |
+
current_image=ds[r]['image']
|
67 |
+
st.write(str(r))
|
68 |
+
st.session_state["points"] = []
|
69 |
#else:
|
70 |
# st.write('Gohuhuhubye')
|