Kate0816 commited on
Commit
2b60d6d
·
1 Parent(s): 549f4b5

Update ChuanhuChatbot.py

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +4 -4
ChuanhuChatbot.py CHANGED
@@ -251,7 +251,7 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
251
  # TODO: 公式ocr
252
  # formula_ocr = gr.Checkbox(label=i18n("识别公式"), value=advance_docs["pdf"].get("formula_ocr", False))
253
 
254
- with gr.Tab(label=i18n("参数"), visible=False) as tab: #, visible=False):
255
  gr.Markdown(i18n("# ⚠️ 务必谨慎更改 ⚠️"),
256
  elem_id="advanced-warning")
257
  with gr.Accordion(i18n("参数"), open=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
 
 
251
  # TODO: 公式ocr
252
  # formula_ocr = gr.Checkbox(label=i18n("识别公式"), value=advance_docs["pdf"].get("formula_ocr", False))
253
 
254
+ with gr.Tab(label=i18n("参数")):
255
  gr.Markdown(i18n("# ⚠️ 务必谨慎更改 ⚠️"),
256
  elem_id="advanced-warning")
257
  with gr.Accordion(i18n("参数"), open=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