Spaces:
Sleeping
Sleeping
napatswift
commited on
Commit
·
1829286
1
Parent(s):
c8bbd2d
Fix model path
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import tensorflow as tf
|
|
3 |
import keras_nlp
|
4 |
|
5 |
MAX_SEQUENCE_LENGTH = 40
|
6 |
-
model = tf.keras.models.load_model('model')
|
7 |
|
8 |
eng_tokenizer = keras_nlp.tokenizers.SentencePieceTokenizer(
|
9 |
'spmodel/m48.model')
|
|
|
3 |
import keras_nlp
|
4 |
|
5 |
MAX_SEQUENCE_LENGTH = 40
|
6 |
+
model = tf.keras.models.load_model('saved_model/model')
|
7 |
|
8 |
eng_tokenizer = keras_nlp.tokenizers.SentencePieceTokenizer(
|
9 |
'spmodel/m48.model')
|