Spaces:
Build error
Build error
Commit
·
f668f8e
1
Parent(s):
a68aba3
app.py updates
Browse files
app.py
CHANGED
|
@@ -28,11 +28,11 @@ if "points" not in st.session_state:
|
|
| 28 |
|
| 29 |
#"## Click on image"
|
| 30 |
|
| 31 |
-
r=np.random.randint(100)
|
| 32 |
current_image=ds[0]['image']
|
| 33 |
|
| 34 |
|
| 35 |
-
with
|
| 36 |
draw = ImageDraw.Draw(img)
|
| 37 |
|
| 38 |
def get_ellipse_coords(point):# tuple[int, int]) -> tuple[int, int, int, int]):
|
|
|
|
| 28 |
|
| 29 |
#"## Click on image"
|
| 30 |
|
| 31 |
+
r=0#np.random.randint(100)
|
| 32 |
current_image=ds[0]['image']
|
| 33 |
|
| 34 |
|
| 35 |
+
with ds[r]['image'] as img:
|
| 36 |
draw = ImageDraw.Draw(img)
|
| 37 |
|
| 38 |
def get_ellipse_coords(point):# tuple[int, int]) -> tuple[int, int, int, int]):
|