Commit
·
b17cf1a
1
Parent(s):
b2b0a36
app.py updates
Browse files
app.py
CHANGED
@@ -33,12 +33,12 @@ current_image=ds[0]['image']
|
|
33 |
|
34 |
def button_click():
|
35 |
r=np.random.randint(100)
|
36 |
-
|
37 |
-
st.write(str(r))
|
38 |
st.session_state["points"] = []
|
39 |
|
40 |
|
41 |
-
with
|
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]):
|