Kate0816 commited on
Commit
7fac7a4
·
1 Parent(s): 2b60d6d

Update ChuanhuChatbot.py

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +4 -4
ChuanhuChatbot.py CHANGED
@@ -194,7 +194,7 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
194
  gr.Markdown("## "+i18n("工具箱"))
195
  gr.HTML(get_html("close_btn.html").format(
196
  obj="toolbox"), elem_classes="close-btn")
197
- with gr.Tabs(elem_id="chuanhu-toolbox-tabs"):
198
  with gr.Tab(label=i18n("对话")):
199
  keyTxt = gr.Textbox(
200
  show_label=True,
@@ -331,9 +331,9 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
331
  value=user_name.value,
332
  lines=1,
333
  )
334
- # with gr.Tab(label=i18n("拓展"), visible=False): #, visible=False
335
- # gr.Markdown(
336
- # "Will be here soon...\n(We hope)\n\nAnd we hope you can help us to make more extensions!")
337
 
338
  # changeAPIURLBtn = gr.Button(i18n("🔄 切换API地址"))
339
 
 
194
  gr.Markdown("## "+i18n("工具箱"))
195
  gr.HTML(get_html("close_btn.html").format(
196
  obj="toolbox"), elem_classes="close-btn")
197
+ with gr.Tabs(elem_id="chuanhu-toolbox-tabs",visible=False) as tabs:
198
  with gr.Tab(label=i18n("对话")):
199
  keyTxt = gr.Textbox(
200
  show_label=True,
 
331
  value=user_name.value,
332
  lines=1,
333
  )
334
+ with gr.Tab(label=i18n("拓展"), visible=False): #, visible=False
335
+ gr.Markdown(
336
+ "Will be here soon...\n(We hope)\n\nAnd we hope you can help us to make more extensions!")
337
 
338
  # changeAPIURLBtn = gr.Button(i18n("🔄 切换API地址"))
339