Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ if choice == "Sketchpad input":
|
|
62 |
|
63 |
col1,col2 = st.columns(2)
|
64 |
with col2:
|
65 |
-
stroke_width = st.slider("Stroke width: ",
|
66 |
|
67 |
with col1:
|
68 |
# ref : https://github.com/andfanilo/streamlit-drawable-canvas
|
@@ -73,8 +73,8 @@ if choice == "Sketchpad input":
|
|
73 |
background_color="#FFFFFF", # background to write
|
74 |
background_image= None,
|
75 |
update_streamlit=False,
|
76 |
-
height=
|
77 |
-
width=
|
78 |
drawing_mode="freedraw",
|
79 |
point_display_radius=0,
|
80 |
key="canvas",
|
|
|
62 |
|
63 |
col1,col2 = st.columns(2)
|
64 |
with col2:
|
65 |
+
stroke_width = st.slider("Stroke width: ", 8, 25, 8)
|
66 |
|
67 |
with col1:
|
68 |
# ref : https://github.com/andfanilo/streamlit-drawable-canvas
|
|
|
73 |
background_color="#FFFFFF", # background to write
|
74 |
background_image= None,
|
75 |
update_streamlit=False,
|
76 |
+
height=300,
|
77 |
+
width=300,
|
78 |
drawing_mode="freedraw",
|
79 |
point_display_radius=0,
|
80 |
key="canvas",
|