0a6e300
1
2
3
4
5
6
7
8
import tensorflow as tf from load_model import load_model def predict(text): model = load_model() prediction = model.predict([text]) return prediction