Circularmachines commited on
Commit
c9c47ec
·
1 Parent(s): 697679e

app.py updates

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ ds = load_dataset("Circularmachines/batch_indexing_machine_100_small_imgs", spli
23
  #"# :dart: Streamlit Image Coordinates: Image Update"
24
 
25
  if "points" not in st.session_state:
26
- st.session_state["points"] = [200,200]
27
 
28
  if "img" not in st.session_state:
29
  st.session_state["img"] = 0
@@ -36,7 +36,7 @@ def button_click():
36
  st.session_state["img"]=np.random.randint(100)
37
  #current_image=ds[r]['image']
38
  #st.write(str(r))
39
- st.session_state["points"] = [200,200]
40
  #value = streamlit_image_coordinates(current_image, key="pil")
41
  st.session_state["draw"]=False
42
 
 
23
  #"# :dart: Streamlit Image Coordinates: Image Update"
24
 
25
  if "points" not in st.session_state:
26
+ st.session_state["points"] = (200,200)
27
 
28
  if "img" not in st.session_state:
29
  st.session_state["img"] = 0
 
36
  st.session_state["img"]=np.random.randint(100)
37
  #current_image=ds[r]['image']
38
  #st.write(str(r))
39
+ st.session_state["points"] = (200,200)
40
  #value = streamlit_image_coordinates(current_image, key="pil")
41
  st.session_state["draw"]=False
42