mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-05 22:33:24 +08:00
Merge branch 'dev' into dev_model_providers
This commit is contained in:
commit
bfcf2775f5
@ -64,8 +64,11 @@ def run_webui(started_event: mp.Event = None, run_mode: str = None):
|
|||||||
|
|
||||||
host = WEBUI_SERVER["host"]
|
host = WEBUI_SERVER["host"]
|
||||||
port = WEBUI_SERVER["port"]
|
port = WEBUI_SERVER["port"]
|
||||||
|
# 判断系统是否为Windows
|
||||||
st_exe = os.path.join(os.path.dirname(sys.executable),"scripts","streamlit")
|
if sys.platform == "win32":
|
||||||
|
st_exe = os.path.join(os.path.dirname(sys.executable), "Scripts", "streamlit")
|
||||||
|
else:
|
||||||
|
st_exe = os.path.join(os.path.dirname(sys.executable),"streamlit")
|
||||||
script_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'webui.py')
|
script_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'webui.py')
|
||||||
cmd = [st_exe, "run", script_dir,
|
cmd = [st_exe, "run", script_dir,
|
||||||
"--server.address", host,
|
"--server.address", host,
|
||||||
|
|||||||
@ -30,13 +30,13 @@ pathlib = "~1.0.1"
|
|||||||
pytest = "~7.4.3"
|
pytest = "~7.4.3"
|
||||||
pyjwt = "2.8.0"
|
pyjwt = "2.8.0"
|
||||||
elasticsearch = "*"
|
elasticsearch = "*"
|
||||||
numexpr = ">=2.8.8"
|
numexpr = ">=1" #test
|
||||||
strsimpy = ">=0.2.1"
|
strsimpy = ">=0.2.1"
|
||||||
markdownify = ">=0.11.6"
|
markdownify = ">=0.11.6"
|
||||||
tqdm = ">=4.66.1"
|
tqdm = ">=4.66.1"
|
||||||
websockets = ">=12.0"
|
websockets = ">=12.0"
|
||||||
numpy = "1.24.4"
|
numpy = "1.24.4"
|
||||||
pandas = "~2.1.4"
|
pandas = "~1" # test
|
||||||
pydantic = "2.6.4"
|
pydantic = "2.6.4"
|
||||||
httpx = {version = ">=0.25.2", extras = ["brotli", "http2", "socks"]}
|
httpx = {version = ">=0.25.2", extras = ["brotli", "http2", "socks"]}
|
||||||
python-multipart = "0.0.9"
|
python-multipart = "0.0.9"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user