From 2142a4e6d14d70a420f78c196a3094be06e90830 Mon Sep 17 00:00:00 2001 From: lauragreemko Date: Sun, 9 Oct 2022 20:27:17 +0200 Subject: [PATCH] changed path pythonanywhere --- app/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/functions.py b/app/functions.py index 3087191..0637792 100644 --- a/app/functions.py +++ b/app/functions.py @@ -5,7 +5,7 @@ from nltk.stem.snowball import SnowballStemmer def load_models(model_name): - path = 'static/models/' + model_name + path = 'home/yesimtrinity/technical_test_laura/app/static/models/' + model_name return pickle.load(open(path,'rb')) def get_arguments(arg):