Download modules/utils/constants.py from smartdigitalnetworks/generativeexpressioneditor: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/smartdigitalnetworks/generativeexpressioneditor/resolve/80de2f9840be2d251cff472fcf45e29d8fd7cf5c/modules/utils/constants.py
- Command line
-
hf download hf://spaces/smartdigitalnetworks/generativeexpressioneditor@80de2f9840be2d251cff472fcf45e29d8fd7cf5c/modules/utils/constants.py
-
curl -L -o constants.py https://huggingface.co/spaces/smartdigitalnetworks/generativeexpressioneditor/resolve/80de2f9840be2d251cff472fcf45e29d8fd7cf5c/modules/utils/constants.py
402 Bytes
| from enum import Enum | |
| from gradio_i18n import Translate, gettext as _ | |
| class ModelType(Enum): | |
| HUMAN = _("Human") | |
| ANIMAL = _("Animal") | |
| 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; | |
| } | |
| """ |