mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 03:23:32 +08:00
url
This commit is contained in:
parent
9296ddb8fe
commit
585a2eef9f
@ -173,10 +173,13 @@ class SaveVideo(ComfyNodeABC):
|
|||||||
# 不加密,直接重命名
|
# 不加密,直接重命名
|
||||||
os.rename(temp_file_path, final_file_path)
|
os.rename(temp_file_path, final_file_path)
|
||||||
|
|
||||||
|
url = f"/view?filename={os.path.basename(final_file_path)}&subfolder={subfolder}&type=output"
|
||||||
|
|
||||||
results.append({
|
results.append({
|
||||||
"filename": os.path.basename(final_file_path),
|
"filename": os.path.basename(final_file_path),
|
||||||
"subfolder": subfolder,
|
"subfolder": subfolder,
|
||||||
"type": self.type
|
"type": self.type,
|
||||||
|
"url": url
|
||||||
})
|
})
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user