youngtsai commited on
Commit
1b5955a
·
1 Parent(s): ea8279c

groq_send_button

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -1654,24 +1654,24 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
1654
  inputs=[password, openai_chatbot_audio_input],
1655
  outputs=[msg]
1656
  )
1657
- # GROQ 模式
1658
- groq_send_button.click(
1659
- chat_with_ai,
1660
- inputs=[groq_ai_name, password, video_id, df_string_output, groq_msg, groq_chatbot, content_subject, content_grade, socratic_mode_btn],
1661
- outputs=[groq_msg, groq_chatbot]
1662
- )
1663
- # JUTOR API 模式
1664
- jutor_send_button.click(
1665
- chat_with_ai,
1666
- inputs=[jutor_ai_name, password, video_id, df_string_output, jutor_msg, jutor_chatbot, content_subject, content_grade, socratic_mode_btn],
1667
- outputs=[jutor_msg, jutor_chatbot]
1668
- )
1669
- # CLAUDE 模式
1670
- claude_send_button.click(
1671
- chat_with_ai,
1672
- inputs=[claude_ai_name, password, video_id, df_string_output, claude_msg, claude_chatbot, content_subject, content_grade, socratic_mode_btn],
1673
- outputs=[claude_msg, claude_chatbot]
1674
- )
1675
  # ai_chatbot 模式
1676
  ai_send_button.click(
1677
  chat_with_ai,
 
1654
  inputs=[password, openai_chatbot_audio_input],
1655
  outputs=[msg]
1656
  )
1657
+ # # GROQ 模式
1658
+ # groq_send_button.click(
1659
+ # chat_with_ai,
1660
+ # inputs=[groq_ai_name, password, video_id, df_string_output, groq_msg, groq_chatbot, content_subject, content_grade, socratic_mode_btn],
1661
+ # outputs=[groq_msg, groq_chatbot]
1662
+ # )
1663
+ # # JUTOR API 模式
1664
+ # jutor_send_button.click(
1665
+ # chat_with_ai,
1666
+ # inputs=[jutor_ai_name, password, video_id, df_string_output, jutor_msg, jutor_chatbot, content_subject, content_grade, socratic_mode_btn],
1667
+ # outputs=[jutor_msg, jutor_chatbot]
1668
+ # )
1669
+ # # CLAUDE 模式
1670
+ # claude_send_button.click(
1671
+ # chat_with_ai,
1672
+ # inputs=[claude_ai_name, password, video_id, df_string_output, claude_msg, claude_chatbot, content_subject, content_grade, socratic_mode_btn],
1673
+ # outputs=[claude_msg, claude_chatbot]
1674
+ # )
1675
  # ai_chatbot 模式
1676
  ai_send_button.click(
1677
  chat_with_ai,