File size: 663 Bytes
7785d3b e6d5b51 f878f1b 182d369 f878f1b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
from enum import Enum
from gradio_i18n import Translate, gettext as _
class ModelType(Enum):
HUMAN = _("Human")
ANIMAL = _("Animal")
class SamplePart(Enum):
ONLY_EXPRESSION = _("OnlyExpression")
ONLY_ROTATION = _("OnlyRotation")
ONLY_MOUTH = _("OnlyMouth")
ONLY_EYES = _("OnlyEyes")
ALL = _("All")
REPO_MARKDOWN = """
## [AdvancedLivePortrait-WebUI](https://github.com/jhj0517/AdvancedLivePortrait-WebUI/tree/master)
"""
GRADIO_CSS = """
#md_project a {
color: black;
text-decoration: none;
}
#md_project a:hover {
text-decoration: underline;
}
#blink_slider .md.svelte-7ddecg.chatbot.prose {
font-size: 0.7em;
}
""" |