Commit
·
26b8b00
1
Parent(s):
e895b3f
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,22 @@ from PIL import Image, ImageDraw
|
|
3 |
|
4 |
from streamlit_image_coordinates import streamlit_image_coordinates
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
with Image.open("kitty.jpeg") as img:
|
7 |
draw = ImageDraw.Draw(img)
|
8 |
|
|
|
3 |
|
4 |
from streamlit_image_coordinates import streamlit_image_coordinates
|
5 |
|
6 |
+
|
7 |
+
st.set_page_config(
|
8 |
+
page_title="Streamlit Image Coordinates: Image Update",
|
9 |
+
page_icon="🎯",
|
10 |
+
layout="wide",
|
11 |
+
)
|
12 |
+
|
13 |
+
#"# :dart: Streamlit Image Coordinates: Image Update"
|
14 |
+
|
15 |
+
if "points" not in st.session_state:
|
16 |
+
st.session_state["points"] = []
|
17 |
+
|
18 |
+
|
19 |
+
#"## Click on image"
|
20 |
+
|
21 |
+
|
22 |
with Image.open("kitty.jpeg") as img:
|
23 |
draw = ImageDraw.Draw(img)
|
24 |
|