Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ print([(k, type(v)) for (k, v) in state.items()])
|
|
22 |
|
23 |
# Specify brush parameters and drawing mode
|
24 |
b_width = st.sidebar.slider("Brush width: ", 1, 100, 10)
|
25 |
-
b_color = st.
|
26 |
-
bg_color = st.
|
27 |
drawing_mode = st.sidebar.checkbox("Drawing mode ?", True)
|
28 |
|
29 |
# Create a canvas component
|
|
|
22 |
|
23 |
# Specify brush parameters and drawing mode
|
24 |
b_width = st.sidebar.slider("Brush width: ", 1, 100, 10)
|
25 |
+
b_color = st.sidebar.color_picker("Enter brush color hex: ")
|
26 |
+
bg_color = st.sidebar.color_picker("Enter background color hex: ", "#eee")
|
27 |
drawing_mode = st.sidebar.checkbox("Drawing mode ?", True)
|
28 |
|
29 |
# Create a canvas component
|