Update ui_utils.py
Browse files13 unmodified lines1415161718192048 unmodified lines69707172737413 unmodified linestype='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.label='Select Detector model')gr_dlc_model_input = gr.inputs.Dropdown(choices=dlc_models_list, # choicesdefault='superanimal_quadruped', # default optiontype='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.label='Select DeepLabCut model')48 unmodified linesdescription = "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>\."examples = [['examples/dog.jpeg', 'md_v5a', 'superanimal_quadruped', False, True, 0.5, 0.00, 'amiko',9, 'red', 3]]return [title,description,examples]13 unmodified lines1415161718192048 unmodified lines69707172737413 unmodified linestype='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.label='Select Detector model')gr_dlc_model_input = gr.inputs.Dropdown(choices=dlc_models_list, # choicesdefault='superanimal_quadruped_dlcrnet', # default optiontype='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.label='Select DeepLabCut model')48 unmodified linesdescription = "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>\."examples = [['examples/dog.jpeg', 'md_v5a', 'superanimal_quadruped_dlcrnet', False, True, 0.5, 0.00, 'amiko',9, 'red', 3]]return [title,description,examples]
ui_utils.py+2-2