Erfan11 commited on
Commit
0a6e300
1 Parent(s): f38223b

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +7 -3
utils.py CHANGED
@@ -1,3 +1,7 @@
1
- def helper_function(param):
2
- # Some utility function, e.g., text preprocessing
3
- return param.lower()
 
 
 
 
 
1
+ import tensorflow as tf
2
+ from load_model import load_model
3
+
4
+ def predict(text):
5
+ model = load_model()
6
+ prediction = model.predict([text])
7
+ return prediction