facefusion/uis/layouts/example.py
import gradio
from facefusion.uis.components import example
def pre_check() -> bool:
return True
def render() -> gradio.Blocks:
with gradio.Blocks() as layout:
example.render()
return layout
def listen() -> None:
example.listen()
def run(ui : gradio.Blocks) -> None:
ui.launch()
python run.py --ui-layouts example