new example and updated .gitignore
This commit is contained in:
1 parent
19cbe21a6d
commit
10f87c34c1
4 files changed
+3
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
assets/
|
||||
results/*
|
||||
.env
|
||||
reddit-bot-351418-5560ebc49cac.json
|
||||
/.idea
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -44,10 +44,11 @@ def make_final_video(number_of_clips):
|
||||
else:
|
||||
return title[0:30] + "..."
|
||||
|
||||
final.write_videofile(f"assets/{get_video_title()}.mp4", fps=30, audio_codec="aac", audio_bitrate="192k")
|
||||
final.write_videofile(f"results/{get_video_title()}.mp4", fps=30, audio_codec="aac", audio_bitrate="192k")
|
||||
|
||||
print_step("Removing temporary files 🗑")
|
||||
cleanups = cleanup()
|
||||
print_substep(f"Removed {cleanups} temporary files 🗑")
|
||||
print_substep(f"See result in the results folder!")
|
||||
|
||||
print_step(f"Reddit title: {os.getenv('VIDEO_TITLE')} \n Background Credit: {os.getenv('background_credit')}")
|
||||
Reference in new issue
Block a user