Color keypoints by bodypart by default
#15
by C-Achard - opened
- ui_utils.py +2 -2
ui_utils.py
CHANGED
|
@@ -108,7 +108,7 @@ def gradio_inputs_for_MD_DLC(backends_list, md_models_list, dlc_models_list):
|
|
| 108 |
)
|
| 109 |
|
| 110 |
gr_color_by_confidence_checkbox = gr.Checkbox(
|
| 111 |
-
value=
|
| 112 |
label="Color keypoints by confidence? (otherwise by bodypart)",
|
| 113 |
)
|
| 114 |
|
|
@@ -217,7 +217,7 @@ def gradio_description_and_examples():
|
|
| 217 |
|
| 218 |
examples = [
|
| 219 |
[image, "PyTorch", "md_v5a", "superanimal_quadruped", False, True, 0.5, 0.4, "amiko"]
|
| 220 |
-
+ [font_size, "#ff0000", marker_size,
|
| 221 |
for image in (
|
| 222 |
"examples/dog.jpeg",
|
| 223 |
"examples/cat.jpg",
|
|
|
|
| 108 |
)
|
| 109 |
|
| 110 |
gr_color_by_confidence_checkbox = gr.Checkbox(
|
| 111 |
+
value=False,
|
| 112 |
label="Color keypoints by confidence? (otherwise by bodypart)",
|
| 113 |
)
|
| 114 |
|
|
|
|
| 217 |
|
| 218 |
examples = [
|
| 219 |
[image, "PyTorch", "md_v5a", "superanimal_quadruped", False, True, 0.5, 0.4, "amiko"]
|
| 220 |
+
+ [font_size, "#ff0000", marker_size, False, "viridis", "#ff0000"]
|
| 221 |
for image in (
|
| 222 |
"examples/dog.jpeg",
|
| 223 |
"examples/cat.jpg",
|