minimum-generated-pig commited on
Commit
dd8370d
·
verified ·
1 Parent(s): 91033ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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["general"]["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
 
 
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