AlexD108 commited on
Commit
2d7a0af
·
verified ·
1 Parent(s): cedfbc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def reviewnueva(review, word_index, maxmimo_num_palabras):
15
  sequence.append(index)
16
  return sequence
17
 
18
- model = tf.keras.models.load_model("opiniones.h5")
19
 
20
  def predict_sentiento(review):
21
  sequence = reviewnueva(review, word_index)
 
15
  sequence.append(index)
16
  return sequence
17
 
18
+ model = tf.keras.models.load_model('opiniones.h5')
19
 
20
  def predict_sentiento(review):
21
  sequence = reviewnueva(review, word_index)