From 6c55b482baeb715abd882829735ee58a0e7393cf Mon Sep 17 00:00:00 2001 From: Ahmed Sheta Date: Tue, 6 Feb 2024 13:13:57 +0100 Subject: [PATCH] removed the redundant S3 question prompt from data preprocessing Signed-off-by: Ahmed Sheta --- src/demo/demos.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/demo/demos.py b/src/demo/demos.py index 2371f1d..2a57764 100644 --- a/src/demo/demos.py +++ b/src/demo/demos.py @@ -224,10 +224,7 @@ def preprocessing_demo(): historical_bool = True else: historical_bool = False - if get_yes_no_input("Run on S3? (y/n)\n'n' means it will run locally!\n"): - S3_bool = True - else: - S3_bool = False + S3_bool = DATABASE_TYPE == "S3" preprocessor = Preprocessing( filter_null_data=filter_bool, historical_bool=historical_bool, S3_bool=S3_bool