1 Star 0 Fork 0

yuan199696/kohya_ss

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.bat 671 Bytes
一键复制 编辑 原始数据 按行查看 历史
bmaltais 提交于 2024-03-12 20:31 . Improve setup. Add --headless option
@echo off
IF NOT EXIST venv (
echo Creating venv...
python -m venv venv
)
:: Create the directory if it doesn't exist
mkdir ".\logs\setup" > nul 2>&1
:: Deactivate the virtual environment to prevent error
call .\venv\Scripts\deactivate.bat
call .\venv\Scripts\activate.bat
REM Check if the batch was started via double-click
IF /i "%comspec% /c %~0 " equ "%cmdcmdline:"=%" (
REM echo This script was started by double clicking.
cmd /k python .\setup\setup_windows.py
) ELSE (
REM echo This script was started from a command prompt.
python .\setup\setup_windows.py %*
)
:: Deactivate the virtual environment
call .\venv\Scripts\deactivate.bat
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bfanfanfan/kohya_ss.git
git@gitee.com:bfanfanfan/kohya_ss.git
bfanfanfan
kohya_ss
kohya_ss
master

搜索帮助