Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,8 @@ max_length = max([len(s) for s in sequences])
|
|
22 |
# Load your saved model
|
23 |
model = tf.keras.models.load_model('sentiment_mini-test')
|
24 |
|
|
|
|
|
25 |
def use(input_text):
|
26 |
# Preprocess the input text
|
27 |
sequences = tokenizer.texts_to_sequences([input_text])
|
|
|
22 |
# Load your saved model
|
23 |
model = tf.keras.models.load_model('sentiment_mini-test')
|
24 |
|
25 |
+
model.summary()
|
26 |
+
|
27 |
def use(input_text):
|
28 |
# Preprocess the input text
|
29 |
sequences = tokenizer.texts_to_sequences([input_text])
|