youngtsai commited on
Commit
6b1394b
·
1 Parent(s): f91a6d2

assistant_id open ai

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1944,7 +1944,7 @@ def chat_with_opan_ai_assistant(password, youtube_id, user_data, thread_id, tras
1944
  raise gr.Error(error_msg)
1945
 
1946
  try:
1947
- assistant_id = "asst_kmvZLNkDUYaNkMNtZEAYxyPq" #GPT 4 turbo
1948
  # assistant_id = "asst_5SaUElqvL3U0ybSi9PRM8x3P" #GPT 3.5 turbo
1949
 
1950
  client = OPEN_AI_CLIENT
@@ -2108,7 +2108,7 @@ def streaming_chat_with_open_ai(user_message, chat_history, password, user_data,
2108
  raise gr.Error(error_msg)
2109
 
2110
  try:
2111
- assistant_id = "asst_kmvZLNkDUYaNkMNtZEAYxyPq" #GPT 4 turbo
2112
  # assistant_id = "asst_5SaUElqvL3U0ybSi9PRM8x3P" #GPT 3.5 turbo
2113
  client = OPEN_AI_CLIENT
2114
  # 直接安排逐字稿資料 in instructions
 
1944
  raise gr.Error(error_msg)
1945
 
1946
  try:
1947
+ assistant_id = "asst_Mk151eZmKhNxzG7L9Awqz6iZ" #GPT 4 turbo
1948
  # assistant_id = "asst_5SaUElqvL3U0ybSi9PRM8x3P" #GPT 3.5 turbo
1949
 
1950
  client = OPEN_AI_CLIENT
 
2108
  raise gr.Error(error_msg)
2109
 
2110
  try:
2111
+ assistant_id = "asst_Mk151eZmKhNxzG7L9Awqz6iZ" #GPT 4 turbo
2112
  # assistant_id = "asst_5SaUElqvL3U0ybSi9PRM8x3P" #GPT 3.5 turbo
2113
  client = OPEN_AI_CLIENT
2114
  # 直接安排逐字稿資料 in instructions