quentinrobot commited on
Commit
7b545d5
·
verified ·
1 Parent(s): 5035b88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -14,7 +14,10 @@ callback_manager = CallbackManager()
14
 
15
  api_base_url = "https://api.siliconflow.cn/v1"
16
  model = "internlm/internlm2_5-7b-chat"
17
- api_key = os.getenv("API_KEY")
 
 
 
18
 
19
  llm =OpenAILike(model=model, api_base=api_base_url, api_key=api_key, is_chat_model=True,callback_manager=callback_manager)
20
 
 
14
 
15
  api_base_url = "https://api.siliconflow.cn/v1"
16
  model = "internlm/internlm2_5-7b-chat"
17
+ api_key = "API_KEY"
18
+ # api_key = os.getenv("API_KEY")
19
+
20
+
21
 
22
  llm =OpenAILike(model=model, api_base=api_base_url, api_key=api_key, is_chat_model=True,callback_manager=callback_manager)
23