Spaces:
Running
Running
BilalHasan
commited on
Commit
•
f578b97
1
Parent(s):
262f069
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ tokenizer = keras_nlp.tokenizers.WordPieceTokenizer(
|
|
17 |
)
|
18 |
|
19 |
def make_prediction(sentence):
|
20 |
-
tokens = tokenizer(
|
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 |
|