diff --git a/autogpt_platform/backend/backend/blocks/edit_video_by_text.py b/autogpt_platform/backend/backend/blocks/edit_video_by_text.py index 839fd0eff6..fe8bb573d8 100644 --- a/autogpt_platform/backend/backend/blocks/edit_video_by_text.py +++ b/autogpt_platform/backend/backend/blocks/edit_video_by_text.py @@ -136,12 +136,14 @@ class EditVideoByTextBlock(Block): *, credentials: APIKeyCredentials, graph_exec_id: str, + user_id: str, **kwargs, ) -> BlockOutput: try: local_path = await store_media_file( graph_exec_id=graph_exec_id, file=input_data.video_in, + user_id=user_id, return_content=False, ) abs_path = get_exec_file_path(graph_exec_id, local_path) diff --git a/autogpt_platform/backend/backend/blocks/transcribe_video.py b/autogpt_platform/backend/backend/blocks/transcribe_video.py index 45daf4e900..5edb53139b 100644 --- a/autogpt_platform/backend/backend/blocks/transcribe_video.py +++ b/autogpt_platform/backend/backend/blocks/transcribe_video.py @@ -116,12 +116,14 @@ class TranscribeVideoBlock(Block): *, credentials: APIKeyCredentials, graph_exec_id: str, + user_id: str, **kwargs, ) -> BlockOutput: try: local_path = await store_media_file( graph_exec_id=graph_exec_id, file=input_data.video_in, + user_id=user_id, return_content=False, ) abs_path = get_exec_file_path(graph_exec_id, local_path)