增加基础功能判空

This commit is contained in:
w_xiaolizu
2023-04-21 17:09:49 +08:00
parent fd6b1755c9
commit 73c6a2aeb0
3 changed files with 11 additions and 8 deletions

View File

@ -96,7 +96,6 @@ class ChatBot(ChatBotFrame):
def draw_function_chat(self):
with gr.Tab('Function'):
with gr.Accordion("基础功能区", open=True) as self.area_basic_fn:
gr.Markdown('> 以下功能依赖输入区内容')
with gr.Row():
for k in functional:
variant = functional[k]["Color"] if "Color" in functional[k] else "secondary"