youngtsai commited on
Commit
8de954e
·
1 Parent(s): f97a7cb

# with gr.Accordion("參考指引:情境與主題如何搭配呢?", open=False):

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -553,12 +553,12 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
553
  with gr.Row():
554
  with gr.Column():
555
  gr.Markdown("""## 主題是整個段落要探討、闡述的主要議題。確定主題對於段落的架構、內容非常重要。""")
556
- with gr.Column():
557
- with gr.Accordion("參考指引:情境與主題如何搭配呢?", open=False):
558
- gr.Markdown("""
559
- 例如,情境是 `School & Learning` ,你可以依照自己的興趣、背景及經驗,決定合適的主題,像是:`My First Day at School` 或 `The Role of Internet in Learning`
560
- 例如,情境是 `Climate Change`,相關主題可能是 `Global Warming` 或 `Extreme Weather Events`
561
- """)
562
  with gr.Row(visible=False) as topic_params:
563
  default_generate_topics_prompt = """
564
  The topic is the main issue that the entire paragraph aims to discuss and elaborate on.
 
553
  with gr.Row():
554
  with gr.Column():
555
  gr.Markdown("""## 主題是整個段落要探討、闡述的主要議題。確定主題對於段落的架構、內容非常重要。""")
556
+ # with gr.Column():
557
+ # with gr.Accordion("參考指引:情境與主題如何搭配呢?", open=False):
558
+ # gr.Markdown("""
559
+ # 例如,情境是 `School & Learning` ,你可以依照自己的興趣、背景及經驗,決定合適的主題,像是:`My First Day at School` 或 `The Role of Internet in Learning`
560
+ # 例如,情境是 `Climate Change`,相關主題可能是 `Global Warming` 或 `Extreme Weather Events`
561
+ # """)
562
  with gr.Row(visible=False) as topic_params:
563
  default_generate_topics_prompt = """
564
  The topic is the main issue that the entire paragraph aims to discuss and elaborate on.