Circularmachines commited on
Commit
b17cf1a
·
1 Parent(s): b2b0a36

app.py updates

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,12 +33,12 @@ current_image=ds[0]['image']
33
 
34
  def button_click():
35
  r=np.random.randint(100)
36
- #current_image=ds[r]['image']
37
- st.write(str(r))
38
  st.session_state["points"] = []
39
 
40
 
41
- with ds[r]['image'] as img:
42
  draw = ImageDraw.Draw(img)
43
 
44
  def get_ellipse_coords(point):# tuple[int, int]) -> tuple[int, int, int, int]):
 
33
 
34
  def button_click():
35
  r=np.random.randint(100)
36
+ current_image=ds[r]['image']
37
+ #st.write(str(r))
38
  st.session_state["points"] = []
39
 
40
 
41
+ with current_image as img:
42
  draw = ImageDraw.Draw(img)
43
 
44
  def get_ellipse_coords(point):# tuple[int, int]) -> tuple[int, int, int, int]):