aboutsummaryrefslogtreecommitdiff
path: root/modules/api
diff options
context:
space:
mode:
authorZhang Hua <zhanghua.00@qq.com>2023-03-10 16:35:55 +0800
committerZhang Hua <zhanghua.00@qq.com>2023-03-11 20:00:11 +0800
commitd006108d75d74b3237ccbb60a9373bf28c2b85d7 (patch)
tree2a8d4fc2ca4af3e80ecab36103641a7bdfcbc76a /modules/api
parent98695c18852512e6b1f6b0d7b0ab5e6e2f26f561 (diff)
webui.sh: remove all `cd` related code
This may be helpful for https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7028, because we won't change working directory to the repo now, instead, we will use any working directory. If we set working directory to a path contains repo and the custom --data-dir, the problem in this issue should be solved. Howewer, this may be treated as an incompatible change if some code assume the working directory is always the repo. Also, there may be another solution that always let --data-dir be the subdirectory of the repo, but personally I think this may not be what we actually need. As this issue mainly influent on Docker and I am not familiar with .bat files, updating webui.bat is skipped. webui.sh: source env from repo instead $PWD
Diffstat (limited to 'modules/api')
0 files changed, 0 insertions, 0 deletions