Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
|
|
|
|
|
|
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 |
|