aboutsummaryrefslogtreecommitdiff
path: root/src/app.py
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-12-02 19:15:04 -0500
committerBobby <[email protected]>2022-12-02 19:15:04 -0500
commit911fecc1940935523fc223e142e84f9cecf600a7 (patch)
tree54db2784df71883d64edd82589d08b7fc73f40c8 /src/app.py
parent2fbbc2c07f306c6edd1ab543b03b6fc905b9fa3a (diff)
downloadRedditEngagementPrediction-911fecc1940935523fc223e142e84f9cecf600a7.tar.xz
RedditEngagementPrediction-911fecc1940935523fc223e142e84f9cecf600a7.zip
Fixed SSL Issues
Diffstat (limited to 'src/app.py')
-rw-r--r--src/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.py b/src/app.py
index bb82b4d..ad5e9b1 100644
--- a/src/app.py
+++ b/src/app.py
@@ -20,6 +20,8 @@ if DatabaseHandler().read().empty:
if response:
posts = fetch_data()
# ask if user wants to save the data
+ root = tkinter.Tk()
+ root.withdraw()
response = tkinter.messagebox.askokcancel('Save Data', 'Do you want to save the data for future use?', icon='warning')
posts = pd.DataFrame(posts)
posts = Preprocessor(posts).get_preprocessed_data()