Reaumur commited on
Commit
57fe102
·
verified ·
1 Parent(s): dea550d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ class CustomLSTM(LSTM):
14
  # Caching the model loading function to optimize performance
15
  @st.cache_resource
16
  def load_captcha_model():
17
- model_path = "captcha_ocr_model.h5" # Update with the actual CAPTCHA model path
18
  return tf.keras.models.load_model(model_path, custom_objects={'CustomLSTM': CustomLSTM})
19
 
20
  # Load the model
 
14
  # Caching the model loading function to optimize performance
15
  @st.cache_resource
16
  def load_captcha_model():
17
+ model_path = "model1.keras" # Update with the actual CAPTCHA model path
18
  return tf.keras.models.load_model(model_path, custom_objects={'CustomLSTM': CustomLSTM})
19
 
20
  # Load the model