Skip to content

Commit f7349d2

Browse files
authored
feat local model config (#3252)
1 parent 7484201 commit f7349d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/maxkb/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class Config(dict):
2626
"DB_PASSWORD": "Password123@postgres",
2727
"DB_ENGINE": "dj_db_conn_pool.backends.postgresql",
2828
"DB_MAX_OVERFLOW": 80,
29+
'LOCAL_MODEL_HOST': '127.0.0.1',
30+
'LOCAL_MODEL_PORT': '11636',
31+
'LOCAL_MODEL_PROTOCOL': "http",
32+
'LOCAL_MODEL_HOST_WORKER': 1,
2933
# 语言
3034
'LANGUAGE_CODE': 'zh-CN',
3135
"DEBUG": False,

0 commit comments

Comments
 (0)