Spaces:
Build error
Build error
Commit
β’
b2cc13e
1
Parent(s):
668cb3e
UX Suggested minor changes: alphabetical order of models & font, default pose colour as red (black is hard to see)
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ DLC_models = {'full_cat': "model/DLC_Cat_resnet_50_iteration-0_shuffle-0",
|
|
37 |
'full_human': "model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1",
|
38 |
'full_macaque': 'model/DLC_monkey_resnet_50_iteration-0_shuffle-1'}
|
39 |
|
40 |
-
DLC_models_list = ['full_cat', 'full_dog','
|
41 |
|
42 |
#########################################
|
43 |
# Draw keypoints on image
|
@@ -307,7 +307,7 @@ gr_slider_conf_keypoints = gr.inputs.Slider(0,1,.05,0.25,
|
|
307 |
label='Set confidence threshold for keypoints')
|
308 |
|
309 |
# Data viz
|
310 |
-
gr_keypt_color = gr.ColorPicker(label="choose color for keypoint label")
|
311 |
|
312 |
gr_labels_font_style = gr.inputs.Dropdown(choices=['amiko', 'nature', 'painter', 'animals', 'zen'],
|
313 |
default='amiko',
|
|
|
37 |
'full_human': "model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1",
|
38 |
'full_macaque': 'model/DLC_monkey_resnet_50_iteration-0_shuffle-1'}
|
39 |
|
40 |
+
DLC_models_list = ['full_cat', 'full_dog','full_human', 'full_macaque', 'primate_face']
|
41 |
|
42 |
#########################################
|
43 |
# Draw keypoints on image
|
|
|
307 |
label='Set confidence threshold for keypoints')
|
308 |
|
309 |
# Data viz
|
310 |
+
gr_keypt_color = gr.ColorPicker(value ="#ff0000", label="choose color for keypoint label")
|
311 |
|
312 |
gr_labels_font_style = gr.inputs.Dropdown(choices=['amiko', 'nature', 'painter', 'animals', 'zen'],
|
313 |
default='amiko',
|