Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ callback_manager = CallbackManager()
|
|
8 |
|
9 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
10 |
model = "internlm2.5-latest"
|
11 |
-
api_key = st.secrets["
|
12 |
|
13 |
llm = OpenAILike(model=model, api_base=api_base_url, api_key=api_key, is_chat_model=True, callback_manager=callback_manager)
|
14 |
|
|
|
8 |
|
9 |
api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
|
10 |
model = "internlm2.5-latest"
|
11 |
+
api_key = st.secrets["api_key"]
|
12 |
|
13 |
llm = OpenAILike(model=model, api_base=api_base_url, api_key=api_key, is_chat_model=True, callback_manager=callback_manager)
|
14 |
|