From 363389cd646161a79b6396d4fa54338bc9895cf5 Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 16 May 2024 13:11:36 +0200 Subject: [PATCH] :lipstick: Show engines / pipelines descriptions in UI --- ui/gradio_ui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/gradio_ui.py b/ui/gradio_ui.py index a9770d5..54d58ce 100644 --- a/ui/gradio_ui.py +++ b/ui/gradio_ui.py @@ -187,7 +187,10 @@ class GenerateUI: engine_rows = [] for i, engine in enumerate(engines): with gr.Column(visible=(i == 0)) as engine_row: - gr.Markdown(value=f"## {engine.name}") + gr.Markdown( + value=f"""## {engine.name} +{engine.description}""" + ) engine_rows.append(engine_row) options = engine.get_options() inputs.extend(options)