From 1feb01064824fb6464170a0cf4cfa23e47226430 Mon Sep 17 00:00:00 2001 From: jahangir Date: Mon, 13 Nov 2023 00:07:41 +0600 Subject: [PATCH] updated video path --- extensions/Text2Video-Zero-sd-webui/scripts/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/Text2Video-Zero-sd-webui/scripts/api.py b/extensions/Text2Video-Zero-sd-webui/scripts/api.py index 3b70ebf9..f924603a 100644 --- a/extensions/Text2Video-Zero-sd-webui/scripts/api.py +++ b/extensions/Text2Video-Zero-sd-webui/scripts/api.py @@ -49,7 +49,7 @@ async def text2video( ): video_path = text2video_zero(prompt, t0=t0, t1=t1, video_length=video_length, fps=fps, model_name=model_name) - return {"video_url": video_path} + return {"video_url": "file=output/videoes/" + video_path} try: import modules.script_callbacks as script_callbacks