qwenvl/conf/config.json
2024-11-12 16:39:19 +08:00

49 lines
893 B
JSON
Executable File

{
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
"modelname":"Qwen/Qwen2-VL-7B-Instruct",
"modelname":"Qwen/Qwen2-VL-2B-Instruct",
"logger":{
"name":"qwenvl",
"levelname":"info",
"logfile":"$[workdir]$/logs/sage.log"
},
"filesroot":"$[workdir]$/files",
"website":{
"paths":[
["$[workdir]$/wwwroot",""]
],
"client_max_size":10000,
"host":"0.0.0.0",
"port":10090,
"coding":"utf-8",
"indexes":[
"index.html",
"index.tmpl",
"index.ui",
"index.dspy",
"index.md"
],
"startswiths":[
{
"leading":"/idfile",
"registerfunction":"idFileDownload"
}
],
"processors":[
[".dspy","dspy"],
[".md","md"]
],
"session_max_time":3000,
"session_issue_time":2500,
"session_redis_notuse":{
"url":"redis://127.0.0.1:6379"
}
},
"langMapping":{
"zh-Hans-CN":"zh-cn",
"zh-CN":"zh-cn",
"en-us":"en",
"en-US":"en"
}
}