From 4b63dfed251c6c9e471a85001d60fd1bd2c66745 Mon Sep 17 00:00:00 2001 From: Luis Mayo Valbuena Date: Thu, 17 Nov 2022 21:01:08 +0100 Subject: [PATCH] Enable adult mode --- main.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index ed2aaa4..ce983d8 100644 --- a/main.py +++ b/main.py @@ -217,7 +217,7 @@ def process_tweets(): current_tweet = None if (len(thread) >= 1): output_filename = tweet.id_str + '.mp4' - render_comment_list(thread, music_code= music_tweet, output_filename=output_filename, resolution_scale=2) + render_comment_list(thread, music_code= music_tweet, output_filename=output_filename, resolution_scale=2, adult_mode=True) files = splitter.split_by_seconds(output_filename, 140, vcodec='libx264') reply_to_tweet = tweet first_tweet = True diff --git a/requirements.txt b/requirements.txt index 8ef3bb4..ace1a20 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ better_profanity==0.6.1 hatesonar pymongo mongita -objection_engine +objection_engine~=3.2 cython scikit-learn==0.22.1