Lokesh1024 commited on
Commit
0263963
·
verified ·
1 Parent(s): fb965d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import pickle
7
  # Load the pre-trained model
8
  @st.cache(allow_output_mutation=True)
9
  def load_model():
10
- model = tf.keras.models.load_model('caption_model.h5')
11
  return model
12
 
13
  # Load the tokenizer
 
7
  # Load the pre-trained model
8
  @st.cache(allow_output_mutation=True)
9
  def load_model():
10
+ model = tf.keras.models.load_model('./caption_model.h5')
11
  return model
12
 
13
  # Load the tokenizer