From 5075841007d13856971f0c59f85422f62dddc01e Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 8 Apr 2024 22:13:52 +0700 Subject: [PATCH] change colour for edit LLM page's button --- libs/ktem/ktem/llms/ui.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libs/ktem/ktem/llms/ui.py b/libs/ktem/ktem/llms/ui.py index f86db60bd..7644e27e2 100644 --- a/libs/ktem/ktem/llms/ui.py +++ b/libs/ktem/ktem/llms/ui.py @@ -52,13 +52,17 @@ def on_building_ui(self): with gr.Row(visible=False) as self._selected_panel_btn: with gr.Column(): - self.btn_edit_save = gr.Button("Save", min_width=10) + self.btn_edit_save = gr.Button( + "Save", min_width=10, variant="primary" + ) with gr.Column(): - self.btn_delete = gr.Button("Delete", min_width=10) + self.btn_delete = gr.Button( + "Delete", min_width=10, variant="stop" + ) with gr.Row(): self.btn_delete_yes = gr.Button( - "Confirm delete", - variant="primary", + "Confirm Delete", + variant="stop", visible=False, min_width=10, )