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('
' + metadata.get('name') + ' ' + metadata.get('version') + '
')