BilalHasan commited on
Commit
f578b97
1 Parent(s): 262f069

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ tokenizer = keras_nlp.tokenizers.WordPieceTokenizer(
17
  )
18
 
19
  def make_prediction(sentence):
20
- tokens = tokenizer(review_example)
21
  tokens = tf.expand_dims(tokens, 0)
22
  prediction = fnet_classifier.predict(tokens, verbose=0)
23
 
 
17
  )
18
 
19
  def make_prediction(sentence):
20
+ tokens = tokenizer(sentence)
21
  tokens = tf.expand_dims(tokens, 0)
22
  prediction = fnet_classifier.predict(tokens, verbose=0)
23