Spaces:
Build error
Build error
cosmetics
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ gr_image_input = gr.inputs.Image(type="pil", label="Input Image")
|
|
42 |
gr_dlc_model_input = gr.inputs.Dropdown(choices=['full_cat','full_dog', 'monkey_face', 'full_human', 'full_monkey'], # choices
|
43 |
default='full_cat', # default option
|
44 |
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.
|
45 |
-
label='Select
|
46 |
gr_dlc_only_checkbox = gr.inputs.Checkbox(False,
|
47 |
label='Run DLClive only, directly on input image?')
|
48 |
|
@@ -51,21 +51,21 @@ gr_slider_conf_bboxes = gr.inputs.Slider(0,1,.05,0.8,
|
|
51 |
gr_slider_conf_keypoints = gr.inputs.Slider(0,1,.05,0,
|
52 |
label='Set confidence threshold for keypoints')
|
53 |
|
54 |
-
gr_keypt_color = gr.ColorPicker(label="choose
|
55 |
|
56 |
gr_pose_font_input = gr.inputs.Dropdown(choices=['amiko', 'nature', 'painter', 'animals', 'zen'],
|
57 |
default='amiko',
|
58 |
type='value',
|
59 |
-
label='Select
|
60 |
gr_slider_font_size = gr.inputs.Slider(5,30,1,8,
|
61 |
-
label='Set
|
62 |
|
63 |
gr_slider_pose_size = gr.inputs.Slider(0.5,5,0.2,2,
|
64 |
label='Set pose size')
|
65 |
gr_mega_model_input = gr.inputs.Dropdown(choices=['md_v5a','md_v5b'],
|
66 |
default='md_v5a', # default option
|
67 |
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.
|
68 |
-
label='Select
|
69 |
inputs = [gr_image_input,
|
70 |
gr_dlc_model_input,
|
71 |
gr_dlc_only_checkbox,
|
|
|
42 |
gr_dlc_model_input = gr.inputs.Dropdown(choices=['full_cat','full_dog', 'monkey_face', 'full_human', 'full_monkey'], # choices
|
43 |
default='full_cat', # default option
|
44 |
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.
|
45 |
+
label='Select DeepLabCut model')
|
46 |
gr_dlc_only_checkbox = gr.inputs.Checkbox(False,
|
47 |
label='Run DLClive only, directly on input image?')
|
48 |
|
|
|
51 |
gr_slider_conf_keypoints = gr.inputs.Slider(0,1,.05,0,
|
52 |
label='Set confidence threshold for keypoints')
|
53 |
|
54 |
+
gr_keypt_color = gr.ColorPicker(label="choose color for keypoint label")
|
55 |
|
56 |
gr_pose_font_input = gr.inputs.Dropdown(choices=['amiko', 'nature', 'painter', 'animals', 'zen'],
|
57 |
default='amiko',
|
58 |
type='value',
|
59 |
+
label='Select keypoint label font')
|
60 |
gr_slider_font_size = gr.inputs.Slider(5,30,1,8,
|
61 |
+
label='Set font size')
|
62 |
|
63 |
gr_slider_pose_size = gr.inputs.Slider(0.5,5,0.2,2,
|
64 |
label='Set pose size')
|
65 |
gr_mega_model_input = gr.inputs.Dropdown(choices=['md_v5a','md_v5b'],
|
66 |
default='md_v5a', # default option
|
67 |
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.
|
68 |
+
label='Select MegaDetector model')
|
69 |
inputs = [gr_image_input,
|
70 |
gr_dlc_model_input,
|
71 |
gr_dlc_only_checkbox,
|