Skip to content

Commit 3944136

Browse files
authored
Fix ckpt_dir (huggingface#939)
1 parent 37189f1 commit 3944136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/stable_diffusion/web/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def resource_path(relative_path):
5959
with gr.Column(scale=1, min_width=600):
6060
with gr.Row():
6161
ckpt_path = (
62-
args.ckpt_dir
62+
Path(args.ckpt_dir)
6363
if args.ckpt_dir
6464
else Path(Path.cwd(), "models")
6565
)

0 commit comments

Comments
 (0)