barreloflube
commited on
Commit
·
e7d7f0f
1
Parent(s):
0f49e30
Refactor image options in image_tab function
Browse files- tabs/images/ui.py +3 -3
tabs/images/ui.py
CHANGED
@@ -72,9 +72,9 @@ def image_tab():
|
|
72 |
image_options = [
|
73 |
('img2img', 'Image to Image', 'image', True),
|
74 |
('inpaint', 'Inpainting', 'imageeditor', True),
|
75 |
-
('canny', 'Edge Detection', '
|
76 |
-
('pose', 'Pose Detection', '
|
77 |
-
('depth', 'Depth Estimation', '
|
78 |
('scribble', 'Scribble', 'imageeditor', False),
|
79 |
]
|
80 |
for image_option, label, type, visible in image_options:
|
|
|
72 |
image_options = [
|
73 |
('img2img', 'Image to Image', 'image', True),
|
74 |
('inpaint', 'Inpainting', 'imageeditor', True),
|
75 |
+
('canny', 'Edge Detection', 'image', True),
|
76 |
+
('pose', 'Pose Detection', 'image', True),
|
77 |
+
('depth', 'Depth Estimation', 'image', True),
|
78 |
('scribble', 'Scribble', 'imageeditor', False),
|
79 |
]
|
80 |
for image_option, label, type, visible in image_options:
|