Skip to content

Commit

Permalink
fix: fix the infinite-zoom results do not show in image gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
linjiX committed Apr 1, 2024
1 parent b49025b commit e13d255
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iz_helpers/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ def prepare_output_path(request: gr.Request):
isCollect = shared.opts.data.get("infzoom_collectAllResources", True)
output_path = paths.private_outdir().joinpath("infinite-zooms")

save_path = output_path.joinpath("videos")
save_path = output_path / "videos" / datetime.datetime.now().strftime('%Y-%m-%d')

if isCollect:
now = datetime.datetime.now()
save_path = save_path.joinpath(now.strftime('%Y-%m-%d'))
# if isCollect:
# now = datetime.datetime.now()
# save_path = save_path.joinpath(now.strftime('%Y-%m-%d'))

paths._check_dir(save_path)

Expand Down

0 comments on commit e13d255

Please sign in to comment.