Circularmachines commited on
Commit
a68aba3
·
1 Parent(s): 9c0f7df

app.py updates

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,7 +29,7 @@ if "points" not in st.session_state:
29
  #"## Click on image"
30
 
31
  r=np.random.randint(100)
32
- current_image=ds[r]['image']
33
 
34
 
35
  with current_image as img:
@@ -65,5 +65,6 @@ if st.button('Random frame'):
65
  r=np.random.randint(100)
66
  current_image=ds[r]['image']
67
  st.write(str(r))
 
68
  #else:
69
  # st.write('Gohuhuhubye')
 
29
  #"## Click on image"
30
 
31
  r=np.random.randint(100)
32
+ current_image=ds[0]['image']
33
 
34
 
35
  with current_image as img:
 
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')