1 Star 3 Fork 3

石俊 / ChatGLM-webui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webui-start.cmd 556 Bytes
一键复制 编辑 原始数据 按行查看 历史
@echo off
cd /D "%~dp0"
if exist .venv goto :start
echo "Setup VENV"
python -m venv .venv
call .venv\Scripts\activate.bat
echo "Install dependencies"
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 -f https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html -i https://mirrors.bfsu.edu.cn/pypi/web/simple
pip install --upgrade -r requirements.txt -i https://mirrors.bfsu.edu.cn/pypi/web/simple
goto :run
:start
echo "Start VENV"
call .venv\Scripts\activate.bat
goto :run
:run
echo "Start WebUI"
python webui.py
pause
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/string222_admin/ChatGLM-webui.git
git@gitee.com:string222_admin/ChatGLM-webui.git
string222_admin
ChatGLM-webui
ChatGLM-webui
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891