Circularmachines commited on
Commit
f4bf3aa
·
1 Parent(s): 981b213

app.py updates

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -22,8 +22,8 @@ ds = load_dataset("Circularmachines/batch_indexing_machine_100_small_imgs", spli
22
 
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
@@ -76,9 +76,9 @@ if value is not None:
76
  st.button('Random frame', on_click=button_click)
77
 
78
  st.write(st.session_state["img"])
79
- #st.write(st.session_state["points"])
80
- st.write(value)
81
- st.write(value["x"], value["y"])
82
 
83
  #else:
84
  # st.write('Gohuhuhubye')
 
22
 
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
 
76
  st.button('Random frame', on_click=button_click)
77
 
78
  st.write(st.session_state["img"])
79
+ st.write(st.session_state["points"])
80
+ #st.write(value)
81
+ #st.write(value["x"], value["y"])
82
 
83
  #else:
84
  # st.write('Gohuhuhubye')