themalinery commited on
Commit
25cf9f5
·
1 Parent(s): dc5cbbb

colorpicker

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -132,14 +132,14 @@ with gr.Blocks(title="Body Pose Estimation") as demo:
132
  precision=0
133
  )
134
 
135
- landmark_color = gr.Textbox(
136
  value="#B37CF7",
137
- label="Landmark Color (hex, e.g. #B37CF7)"
138
  )
139
 
140
- connection_color = gr.Textbox(
141
  value="#E1E1E1",
142
- label="Connection Color (hex, e.g. #E1E1E1)"
143
  )
144
 
145
  connection_thickness = gr.Number(
 
132
  precision=0
133
  )
134
 
135
+ landmark_color = gr.ColorPicker(
136
  value="#B37CF7",
137
+ label="Landmark Color"
138
  )
139
 
140
+ connection_color = gr.ColorPicker(
141
  value="#E1E1E1",
142
+ label="Connection Color"
143
  )
144
 
145
  connection_thickness = gr.Number(