We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478b133 commit b778580Copy full SHA for b778580
app/evaluation_tests.py
@@ -1,5 +1,8 @@
1
import unittest
2
-from evaluation import evaluation_function, Config
+try:
3
+ from .evaluation import evaluation_function, Config
4
+except ImportError:
5
+ from evaluation import evaluation_function, Config
6
7
class TestEvaluationFunction(unittest.TestCase):
8
"""
app/requirements.txt
@@ -2,6 +2,7 @@ numpy
nltk==3.8.1
gensim
matplotlib
+pytest
# To run on cli: /Applications/Python\ 3.11/Install\ Certificates.command
# If SSL cert fail on Mac -> command above calls pip install --upgrade certifi -> then calling nltk.download works
0 commit comments