Spaces:
Sleeping
Sleeping
assistant_id open ai
Browse files
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 = "
|
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 = "
|
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
|