From 77dfedef3189d7e2bf48e1de6beff6ab18bbb584 Mon Sep 17 00:00:00 2001 From: Drugsosos <44712637+Drugsosos@users.noreply.github.com> Date: Mon, 11 Jul 2022 22:55:35 +0300 Subject: [PATCH] fix in audio/video timings --- video_creation/data/videos.json | 11 +---------- video_creation/final_video.py | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/video_creation/data/videos.json b/video_creation/data/videos.json index 0a1ca06..0637a08 100644 --- a/video_creation/data/videos.json +++ b/video_creation/data/videos.json @@ -1,10 +1 @@ -[ - { - "subreddit": "AskReddit", - "id": "vwgslz", - "time": "1657565829", - "background_credit": "bbswitzer", - "reddit_title": "Which singer should never have been famous", - "filename": "Which singer should never have been famous.mp4" - } -] \ No newline at end of file +[] \ No newline at end of file diff --git a/video_creation/final_video.py b/video_creation/final_video.py index 5a9a5b0..c13026f 100755 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -93,7 +93,7 @@ def make_final_video( indexes_for_videos = list() for idx, audio in track( - enumerate(indexes_of_clips), + enumerate(indexes_of_clips, start=1), description='Gathering audio clips...', ): temp_audio_clip = create_audio_clip(