youngtsai commited on
Commit
1b0569d
·
1 Parent(s): 333f20d

with gr.Accordion("你也有類似的問題想問嗎? 請按下 ◀︎", open=False) as ask_questions_accordion:

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2774,7 +2774,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
2774
  thread_id = gr.Textbox(label="thread_id", visible=False)
2775
  socratic_mode_btn = gr.Checkbox(label="蘇格拉底家教助理模式", value=True, visible=False)
2776
  with gr.Row():
2777
- with gr.Accordion("你也有類似的問題想問嗎?", open=False) as ask_questions_accordion:
2778
  btn_1 = gr.Button("問題一")
2779
  btn_2 = gr.Button("問題一")
2780
  btn_3 = gr.Button("問題一")
@@ -2827,7 +2827,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
2827
  ai_chatbot = gr.Chatbot(label="ai_chatbot", show_share_button=False, likeable=True, show_label=False, latex_delimiters=latex_delimiters, value=ai_chatbot_greeting)
2828
  ai_chatbot_socratic_mode_btn = gr.Checkbox(label="蘇格拉底家教助理模式", value=True, visible=False)
2829
  with gr.Row():
2830
- with gr.Accordion("你也有類似的問題想問嗎?", open=False) as ask_questions_accordion_2:
2831
  ai_chatbot_question_1 = gr.Button("問題一")
2832
  ai_chatbot_question_2 = gr.Button("問題一")
2833
  ai_chatbot_question_3 = gr.Button("問題一")
 
2774
  thread_id = gr.Textbox(label="thread_id", visible=False)
2775
  socratic_mode_btn = gr.Checkbox(label="蘇格拉底家教助理模式", value=True, visible=False)
2776
  with gr.Row():
2777
+ with gr.Accordion("你也有類似的問題想問嗎? 請按下 ◀︎", open=False) as ask_questions_accordion:
2778
  btn_1 = gr.Button("問題一")
2779
  btn_2 = gr.Button("問題一")
2780
  btn_3 = gr.Button("問題一")
 
2827
  ai_chatbot = gr.Chatbot(label="ai_chatbot", show_share_button=False, likeable=True, show_label=False, latex_delimiters=latex_delimiters, value=ai_chatbot_greeting)
2828
  ai_chatbot_socratic_mode_btn = gr.Checkbox(label="蘇格拉底家教助理模式", value=True, visible=False)
2829
  with gr.Row():
2830
+ with gr.Accordion("你也有類似的問題想問嗎? 請按下 ◀︎", open=False) as ask_questions_accordion_2:
2831
  ai_chatbot_question_1 = gr.Button("問題一")
2832
  ai_chatbot_question_2 = gr.Button("問題一")
2833
  ai_chatbot_question_3 = gr.Button("問題一")