Spaces:
Running
Running
jhj0517
commited on
Commit
•
a1be1e7
1
Parent(s):
5e6ad7b
Add constants
Browse files- modules/constants.py +3 -0
modules/constants.py
CHANGED
@@ -2,5 +2,8 @@ AUTOMATIC_MODE = "Automatic Segmentation"
|
|
2 |
BOX_PROMPT_MODE = "Box Prompt"
|
3 |
PIXELIZE_FILTER = "Pixelize"
|
4 |
COLOR_FILTER = "Solid Color"
|
|
|
|
|
|
|
5 |
DEFAULT_COLOR = "#00FF00"
|
6 |
DEFAULT_PIXEL_SIZE = 8
|
|
|
2 |
BOX_PROMPT_MODE = "Box Prompt"
|
3 |
PIXELIZE_FILTER = "Pixelize"
|
4 |
COLOR_FILTER = "Solid Color"
|
5 |
+
SOUND_FILE_EXT = ['.mp3', '.wav', '.aac', '.flac', '.ogg', '.m4a', '.wma']
|
6 |
+
IMAGE_FILE_EXT = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.webp']
|
7 |
+
VIDEO_FILE_EXT = ['.mp4', '.avi', '.mov', '.wmv', '.flv', '.webm', '.mkv', '.mpeg', '.mpg', '.m4v', '.3gp', '.ts', '.vob']
|
8 |
DEFAULT_COLOR = "#00FF00"
|
9 |
DEFAULT_PIXEL_SIZE = 8
|