Atualli commited on
Commit
17cd047
·
1 Parent(s): 20bb3e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ CHARS = "ABCDEFGHIJKLMNPQRSTUVWXYZ0123456789" # exclude I, O
6
  CHARS_DICT = {char:i for i, char in enumerate(CHARS)}
7
  DECODE_DICT = {i:char for i, char in enumerate(CHARS)}
8
 
9
- #interpreter = tf.lite.Interpreter(model_path='detection.tflite')
10
- interpreter = tf.lite.Interpreter(model_path='lite-model_east-text-detector_fp16_1.tflite')
11
  interpreter.allocate_tensors()
12
  recog_interpreter = tf.lite.Interpreter(model_path='recognition.tflite')
13
  recog_input_details = recog_interpreter.get_input_details()
 
6
  CHARS_DICT = {char:i for i, char in enumerate(CHARS)}
7
  DECODE_DICT = {i:char for i, char in enumerate(CHARS)}
8
 
9
+ interpreter = tf.lite.Interpreter(model_path='detection.tflite')
10
+ #interpreter = tf.lite.Interpreter(model_path='lite-model_east-text-detector_fp16_1.tflite')
11
  interpreter.allocate_tensors()
12
  recog_interpreter = tf.lite.Interpreter(model_path='recognition.tflite')
13
  recog_input_details = recog_interpreter.get_input_details()