Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ max_length = 5
|
|
11 |
img_width = 180
|
12 |
img_height = 50
|
13 |
|
14 |
-
model = from_pretrained_keras("RW04/
|
15 |
|
16 |
prediction_model = keras.models.Model(
|
17 |
model.get_layer(name="image").input, model.get_layer(name="dense2").output
|
|
|
11 |
img_width = 180
|
12 |
img_height = 50
|
13 |
|
14 |
+
model = from_pretrained_keras("https://huggingface.co/spaces/RW04/captcha_recog/blob/main/saved_model.pb", compile=False)
|
15 |
|
16 |
prediction_model = keras.models.Model(
|
17 |
model.get_layer(name="image").input, model.get_layer(name="dense2").output
|