Gosula commited on
Commit
deeba82
1 Parent(s): ea273f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -79,8 +79,9 @@ cnn.fit(XCnn_train, y_train)
79
  st.title("Handwritten Text Digit Recognition")
80
 
81
  stroke_width = st.sidebar.slider("Stroke width: ", 1, 35, 32)
82
- stroke_color = st.sidebar.color_picker("Stroke color hex: ")
83
- bg_color = st.sidebar.color_picker("Background color hex: ", "#eee")
 
84
  bg_image = st.sidebar.file_uploader("Background image:", type=["png", "jpg"])
85
  drawing_mode = st.sidebar.selectbox(
86
  "Drawing tool:", ("freedraw", "line", "rect", "circle", "transform", "polygon")
 
79
  st.title("Handwritten Text Digit Recognition")
80
 
81
  stroke_width = st.sidebar.slider("Stroke width: ", 1, 35, 32)
82
+ stroke_color = st.sidebar.color_picker("Stroke color hex:", "#ffffff") # Default value is white
83
+ bg_color = st.sidebar.color_picker("Background color hex:", "#000000") # Default value is black
84
+
85
  bg_image = st.sidebar.file_uploader("Background image:", type=["png", "jpg"])
86
  drawing_mode = st.sidebar.selectbox(
87
  "Drawing tool:", ("freedraw", "line", "rect", "circle", "transform", "polygon")