Update ui_utils.py
Browse files- ui_utils.py +2 -2
ui_utils.py
CHANGED
@@ -14,7 +14,7 @@ def gradio_inputs_for_MD_DLC(md_models_list, # list(MD_models_dict.keys())
|
|
14 |
type='value', # Type of value to be returned by component. "value" returns the string of the choice selected, "index" returns the index of the choice selected.
|
15 |
label='Select Detector model')
|
16 |
gr_dlc_model_input = gr.inputs.Dropdown(choices=dlc_models_list, # choices
|
17 |
-
default='
|
18 |
type='value', # Type of value to be returned by component. "value" returns the string of the choice selected, "index" returns the index of the choice selected.
|
19 |
label='Select DeepLabCut model')
|
20 |
|
@@ -69,6 +69,6 @@ def gradio_description_and_examples():
|
|
69 |
description = "Test the SuperAnimal models from the <a href='http://www.mackenziemathislab.org/dlc-modelzoo'>DeepLabCut ModelZoo Project</a>\, and read more on arXiv: https://arxiv.org/abs/2203.07436! Simply upload an image and see how it does. Want to run on videos on the cloud or locally? See the <a href='http://www.mackenziemathislab.org/dlc-modelzoo'>DeepLabCut ModelZoo</a>\."
|
70 |
|
71 |
|
72 |
-
examples = [['examples/dog.jpeg', 'md_v5a', '
|
73 |
|
74 |
return [title,description,examples]
|
|
|
14 |
type='value', # Type of value to be returned by component. "value" returns the string of the choice selected, "index" returns the index of the choice selected.
|
15 |
label='Select Detector model')
|
16 |
gr_dlc_model_input = gr.inputs.Dropdown(choices=dlc_models_list, # choices
|
17 |
+
default='superanimal_quadruped_dlcrnet', # default option
|
18 |
type='value', # Type of value to be returned by component. "value" returns the string of the choice selected, "index" returns the index of the choice selected.
|
19 |
label='Select DeepLabCut model')
|
20 |
|
|
|
69 |
description = "Test the SuperAnimal models from the <a href='http://www.mackenziemathislab.org/dlc-modelzoo'>DeepLabCut ModelZoo Project</a>\, and read more on arXiv: https://arxiv.org/abs/2203.07436! Simply upload an image and see how it does. Want to run on videos on the cloud or locally? See the <a href='http://www.mackenziemathislab.org/dlc-modelzoo'>DeepLabCut ModelZoo</a>\."
|
70 |
|
71 |
|
72 |
+
examples = [['examples/dog.jpeg', 'md_v5a', 'superanimal_quadruped_dlcrnet', False, True, 0.5, 0.00, 'amiko',9, 'red', 3]]
|
73 |
|
74 |
return [title,description,examples]
|