chore: Disable Reddit pipeline temporarily

Comment out the entire main() body (fetch, TTS, screenshot, background,
final video) per user request. Will re-enable later.

https://claude.ai/code/session_01G67vV3sJLXtm2q9r9FcF7L
pull/2541/head
Claude 5 months ago
parent 2a4b186aff
commit d327681ff8
No known key found for this signature in database

@ -48,20 +48,21 @@ reddit_object: Dict[str, str | list]
def main(POST_ID=None) -> None: def main(POST_ID=None) -> None:
global reddit_id, reddit_object global reddit_id, reddit_object
reddit_object = get_subreddit_threads(POST_ID) # reddit_object = get_subreddit_threads(POST_ID)
reddit_id = extract_id(reddit_object) # reddit_id = extract_id(reddit_object)
print_substep(f"Thread ID is {reddit_id}", style="bold blue") # print_substep(f"Thread ID is {reddit_id}", style="bold blue")
length, number_of_comments = save_text_to_mp3(reddit_object) # length, number_of_comments = save_text_to_mp3(reddit_object)
length = math.ceil(length) # length = math.ceil(length)
get_screenshots_of_reddit_posts(reddit_object, number_of_comments) # get_screenshots_of_reddit_posts(reddit_object, number_of_comments)
bg_config = { # bg_config = {
"video": get_background_config("video"), # "video": get_background_config("video"),
"audio": get_background_config("audio"), # "audio": get_background_config("audio"),
} # }
download_background_video(bg_config["video"]) # download_background_video(bg_config["video"])
download_background_audio(bg_config["audio"]) # download_background_audio(bg_config["audio"])
chop_background(bg_config, length, reddit_object) # chop_background(bg_config, length, reddit_object)
make_final_video(number_of_comments, length, reddit_object, bg_config) # make_final_video(number_of_comments, length, reddit_object, bg_config)
print_step("Reddit pipeline is disabled. Uncomment main() body to re-enable.")
def run_many(times) -> None: def run_many(times) -> None:

Loading…
Cancel
Save