un2266 commited on
Commit
34fbe4b
·
1 Parent(s): 7804110

移除對話視窗左上角「對話視窗」標籤

Browse files

千卉截圖回饋:chatbot 元件的 label 拿掉,改用 show_label=False。

Files changed (1) hide show
  1. app_agent.py +1 -1
app_agent.py CHANGED
@@ -2976,7 +2976,7 @@ def create_app():
2976
  with gr.Row(elem_classes=["main-layout-row"], visible=False) as workspace_row:
2977
  with gr.Column(scale=6, min_width=320, elem_classes=["chat-col"]):
2978
  chatbot = gr.Chatbot(
2979
- label="對話視窗",
2980
  height=400,
2981
  elem_classes=["main-chat"],
2982
  )
 
2976
  with gr.Row(elem_classes=["main-layout-row"], visible=False) as workspace_row:
2977
  with gr.Column(scale=6, min_width=320, elem_classes=["chat-col"]):
2978
  chatbot = gr.Chatbot(
2979
+ show_label=False,
2980
  height=400,
2981
  elem_classes=["main-chat"],
2982
  )