Update app.py
Browse files
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 = "
|
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
|