aboutsummaryrefslogtreecommitdiff
path: root/src/windows/plotviewer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/plotviewer.py')
-rw-r--r--src/windows/plotviewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/plotviewer.py b/src/windows/plotviewer.py
index da334b6..635befa 100644
--- a/src/windows/plotviewer.py
+++ b/src/windows/plotviewer.py
@@ -295,7 +295,7 @@ class PlotViewer(customtkinter.CTk):
def predict(self):
# child window to take input of the post - title, selftext, subreddit, day, hour, distinguished
- pred_win = Predict(self)
+ pred_win = Predict(self, self.model.get())
self.wait_window(pred_win)
def train_models(self):