Download DeepFakeAI/uis/components/about.py from anonghost/copy: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/anonghost/copy/resolve/main/DeepFakeAI/uis/components/about.py
- Command line
-
hf download hf://spaces/anonghost/copy/DeepFakeAI/uis/components/about.py
-
curl -L -o about.py https://huggingface.co/spaces/anonghost/copy/resolve/main/DeepFakeAI/uis/components/about.py
332 Bytes
| from typing import Optional | |
| import gradio | |
| from DeepFakeAI import metadata | |
| ABOUT_HTML : Optional[gradio.HTML] = None | |
| def render() -> None: | |
| global ABOUT_HTML | |
| with gradio.Box(): | |
| ABOUT_HTML = gradio.HTML('<center><a href="' + metadata.get('url') + '">' + metadata.get('name') + ' ' + metadata.get('version') + '</a></center>') | |