Bigshot commited on
Commit
5160189
1 Parent(s): 63da01c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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])