- ahserver app on port 9095 - endpoints: status, enroll, identify, verify, compare - ECAPA-TDNN model placeholder - longtasks async task runner (enroll/identify/verify) - direct cosine comparison endpoint
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"password_key": "SpeakerId2026Key",
|
|
"databases": {},
|
|
"session_redis": {
|
|
"host": "127.0.0.1",
|
|
"port": 6379,
|
|
"db": 2
|
|
},
|
|
"logger": {
|
|
"name": "speaker-id",
|
|
"levelname": "info",
|
|
"logfile": "$[workdir]$/logs/speaker-id.log"
|
|
},
|
|
"filesroot": "$[workdir]$/files",
|
|
"website": {
|
|
"paths": [
|
|
["$[workdir]$/wwwroot", ""]
|
|
],
|
|
"client_max_size": 52428800,
|
|
"host": "0.0.0.0",
|
|
"port": 9095,
|
|
"coding": "utf-8",
|
|
"indexes": ["index.html"],
|
|
"startswiths": [
|
|
{"leading": "/api/status", "registerfunction": "status"},
|
|
{"leading": "/api/enroll", "registerfunction": "enroll"},
|
|
{"leading": "/api/identify", "registerfunction": "identify"},
|
|
{"leading": "/api/verify", "registerfunction": "verify"},
|
|
{"leading": "/api/compare", "registerfunction": "compare"}
|
|
],
|
|
"processors": [
|
|
[".dspy", "dspy"],
|
|
[".md", "md"]
|
|
]
|
|
},
|
|
"hot_reload": false
|
|
}
|