youngtsai commited on
Commit
5daa6b7
·
1 Parent(s): 27122a0

with gr.Tab("中文作文工具", visible=False) as chinese_idea_tab:

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1645,7 +1645,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
1645
  )
1646
 
1647
  # =====中文作文工具=====
1648
- with gr.Tab("中文作文工具") as chinese_idea_tab:
1649
  # 輸入題目、輸出靈感
1650
  with gr.Row():
1651
  chinese_write_idea_prompt = """
@@ -1670,7 +1670,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
1670
  )
1671
 
1672
  # =====中文全文批改=====
1673
- with gr.Tab("中文全文批改") as chinese_full_paragraph_tab:
1674
  with gr.Row(visible=False) as chinese_full_paragraph_params:
1675
  chinese_full_paragraph_sys_content_input = gr.Textbox(label="System Prompt", value="You are a Chinese teacher who is practicing with me to improve my Chinese writing skill.")
1676
  default_user_generate_chinese_full_paragraph_evaluate_prompt = """
 
1645
  )
1646
 
1647
  # =====中文作文工具=====
1648
+ with gr.Tab("中文作文工具", visible=False) as chinese_idea_tab:
1649
  # 輸入題目、輸出靈感
1650
  with gr.Row():
1651
  chinese_write_idea_prompt = """
 
1670
  )
1671
 
1672
  # =====中文全文批改=====
1673
+ with gr.Tab("中文全文批改", visible=False) as chinese_full_paragraph_tab:
1674
  with gr.Row(visible=False) as chinese_full_paragraph_params:
1675
  chinese_full_paragraph_sys_content_input = gr.Textbox(label="System Prompt", value="You are a Chinese teacher who is practicing with me to improve my Chinese writing skill.")
1676
  default_user_generate_chinese_full_paragraph_evaluate_prompt = """