fix output video path error

This commit is contained in:
wl-zhao
2024-11-04 12:17:40 +08:00
parent 0904716cd0
commit 4c8e720d05
+1 -1
View File
@@ -82,7 +82,7 @@ class ShellAgentSaveVideoVHS:
video_path = output_files[-1]
cwd = os.getcwd()
# preview_image = os.path.relpath(preview_image)
video_path = os.path.relpath(video_path)
video_path = os.path.relpath(video_path, folder_paths.base_path)
results = {"ui": {"video": [video_path]}}
return results