jhj0517
commited on
Commit
·
7785d3b
1
Parent(s):
4524c14
Add model type constants
Browse files
modules/utils/constants.py
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
REPO_MARKDOWN = """
|
2 |
## [AdvancedLivePortrait-WebUI](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/tree/master)
|
3 |
"""
|
|
|
1 |
+
from enum import Enum
|
2 |
+
from gradio_i18n import Translate, gettext as _
|
3 |
+
|
4 |
+
|
5 |
+
class ModelType(Enum):
|
6 |
+
HUMAN = _("Human")
|
7 |
+
ANIMAL = _("Animal")
|
8 |
+
|
9 |
+
|
10 |
REPO_MARKDOWN = """
|
11 |
## [AdvancedLivePortrait-WebUI](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/tree/master)
|
12 |
"""
|