Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -164,6 +164,9 @@ def test_embedding_model_availability(api_key, model_name):
|
|
164 |
"""
|
165 |
测试指定的向量模型是否可用。
|
166 |
"""
|
|
|
|
|
|
|
167 |
headers = {
|
168 |
"Authorization": f"Bearer {api_key}",
|
169 |
"Content-Type": "application/json"
|
|
|
164 |
"""
|
165 |
测试指定的向量模型是否可用。
|
166 |
"""
|
167 |
+
logging.info(
|
168 |
+
f"测试向量模型 {model_name}"
|
169 |
+
)
|
170 |
headers = {
|
171 |
"Authorization": f"Bearer {api_key}",
|
172 |
"Content-Type": "application/json"
|