oscarvillafuerte commited on
Commit
a1dd9c8
1 Parent(s): 11b5f11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def reviewnueva(review, word_index, maximo_num_palabras):
17
 
18
  model = tf.keras.models.load_model("opiniones.h5")
19
 
20
- def predict_sentimiento(review)
21
  sequence = reviewnueva(review, word_index)
22
  prediccion = model.predict(sequence)
23
  if prediccion[0][0]>=0.5 :
 
17
 
18
  model = tf.keras.models.load_model("opiniones.h5")
19
 
20
+ def predict_sentimiento(review):
21
  sequence = reviewnueva(review, word_index)
22
  prediccion = model.predict(sequence)
23
  if prediccion[0][0]>=0.5 :