anuragshas commited on
Commit
a4f0c21
1 Parent(s): fd8eb4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ max_length = 5
11
  img_width = 200
12
  img_height = 50
13
 
14
- model = from_pretrained_keras("keras-io/ocr-for-captcha")
15
 
16
  prediction_model = keras.models.Model(
17
  model.get_layer(name="image").input, model.get_layer(name="dense2").output
 
11
  img_width = 200
12
  img_height = 50
13
 
14
+ model = from_pretrained_keras("keras-io/ocr-for-captcha", compile=False)
15
 
16
  prediction_model = keras.models.Model(
17
  model.get_layer(name="image").input, model.get_layer(name="dense2").output