Skip to content

Commit

Permalink
changed path pythonanywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
lauragreemko committed Oct 9, 2022
1 parent 52ae784 commit 2142a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2142a4e

Please sign in to comment.