sunxiaokang commited on
Commit
389210e
·
verified ·
1 Parent(s): 16c3a46

密码替换

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ callback_manager = CallbackManager()
9
 
10
  api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
11
  model = "internlm2.5-latest"
12
- api_key = "eyJ0eXBlIjoiSldUIiwiYWxnIjoiSFM1MTIifQ.eyJqdGkiOiI1MDE5MTc0MiIsInJvbCI6IlJPTEVfUkVHSVNURVIiLCJpc3MiOiJPcGVuWExhYiIsImlhdCI6MTczMjQ1OTYxMiwiY2xpZW50SWQiOiJlYm1ydm9kNnlvMG5semFlazF5cCIsInBob25lIjoiMTMzOTM4NjM1NzkiLCJ1dWlkIjoiMGNlMjQyYmQtMGE2Yy00NGFkLWEzZTgtMDk4MTZhN2UwNGNhIiwiZW1haWwiOiI1MzQ2NTgwNjBAcXEuY29tIiwiZXhwIjoxNzQ4MDExNjEyfQ.PaDO8bRfyQNdHlI5XFBKA9YH6tFknMOiSJOoVoyBD5g8Op6kFiTdzIRpGxvdQjELi2JYXIenxb731ixLjXXd_Q"
13
 
14
  # api_base_url = "https://api.siliconflow.cn/v1"
15
  # model = "internlm/internlm2_5-7b-chat"
 
9
 
10
  api_base_url = "https://internlm-chat.intern-ai.org.cn/puyu/api/v1/"
11
  model = "internlm2.5-latest"
12
+ api_key = st.secrets["puyu_api"]
13
 
14
  # api_base_url = "https://api.siliconflow.cn/v1"
15
  # model = "internlm/internlm2_5-7b-chat"