Spaces:
Runtime error
Runtime error
jhj0517
commited on
Commit
•
93c0db7
1
Parent(s):
1b5d47b
Update default filter mode
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ class App:
|
|
35 |
self.image_modes = [AUTOMATIC_MODE, BOX_PROMPT_MODE]
|
36 |
self.default_mode = BOX_PROMPT_MODE
|
37 |
self.filter_modes = [PIXELIZE_FILTER, COLOR_FILTER]
|
38 |
-
self.default_filter =
|
39 |
self.default_color = DEFAULT_COLOR
|
40 |
self.default_pixel_size = DEFAULT_PIXEL_SIZE
|
41 |
default_hparam_config_path = os.path.join(SAM2_CONFIGS_DIR, "default_hparams.yaml")
|
|
|
35 |
self.image_modes = [AUTOMATIC_MODE, BOX_PROMPT_MODE]
|
36 |
self.default_mode = BOX_PROMPT_MODE
|
37 |
self.filter_modes = [PIXELIZE_FILTER, COLOR_FILTER]
|
38 |
+
self.default_filter = COLOR_FILTER
|
39 |
self.default_color = DEFAULT_COLOR
|
40 |
self.default_pixel_size = DEFAULT_PIXEL_SIZE
|
41 |
default_hparam_config_path = os.path.join(SAM2_CONFIGS_DIR, "default_hparams.yaml")
|