aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorSakura-Luna <53183413+Sakura-Luna@users.noreply.github.com>2023-05-14 19:04:34 +0000
committerGitHub <noreply@github.com>2023-05-14 19:04:34 +0000
commit742da3193290f5692901c4c614c98bec291163f2 (patch)
treec31cb600712537fa4c4bb9495f93d893db8de31c /webui.py
parentbd9b9d425a355e151b43047a5df5fcead2fcdc52 (diff)
downloadstable-diffusion-webui-gfx803-742da3193290f5692901c4c614c98bec291163f2.tar.gz
stable-diffusion-webui-gfx803-742da3193290f5692901c4c614c98bec291163f2.tar.bz2
stable-diffusion-webui-gfx803-742da3193290f5692901c4c614c98bec291163f2.zip
Minor changes
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 0a928434..0d0816bc 100644
--- a/webui.py
+++ b/webui.py
@@ -151,7 +151,7 @@ def check_taesd():
model_path = os.path.join(models_path, "VAE-approx", "taesd_decoder.pth")
if not os.path.exists(model_path):
print('download taesd model')
- torch.hub.download_url_to_file(model_url, os.path.dirname(model_path))
+ torch.hub.download_url_to_file(model_url, model_path)
def initialize():