Circularmachines commited on
Commit
b475b0b
·
1 Parent(s): 391663d

app.py updates

Browse files
Files changed (1) hide show
  1. app.py +3 -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
@@ -75,7 +75,8 @@ if value is not None:
75
  st.button('Random frame', on_click=button_click)
76
 
77
  st.write(st.session_state["img"])
78
- st.write(st.session_state["points"])
 
79
 
80
  #else:
81
  # st.write('Gohuhuhubye')
 
23
  #"# :dart: Streamlit Image Coordinates: Image Update"
24
 
25
  if "points" not in st.session_state:
26
+ st.session_state["points"] = []
27
 
28
  if "img" not in st.session_state:
29
  st.session_state["img"] = 0
 
75
  st.button('Random frame', on_click=button_click)
76
 
77
  st.write(st.session_state["img"])
78
+ #st.write(st.session_state["points"])
79
+ st.write(value)
80
 
81
  #else:
82
  # st.write('Gohuhuhubye')