Spaces:
Runtime error
Runtime error
two font recognition
Browse files- app.py +1 -1
- recognition2.tflite +3 -0
app.py
CHANGED
|
@@ -8,7 +8,7 @@ DECODE_DICT = {i:char for i, char in enumerate(CHARS)}
|
|
| 8 |
|
| 9 |
interpreter = tf.lite.Interpreter(model_path='detection.tflite')
|
| 10 |
interpreter.allocate_tensors()
|
| 11 |
-
recog_interpreter = tf.lite.Interpreter(model_path='
|
| 12 |
recog_input_details = recog_interpreter.get_input_details()
|
| 13 |
recog_output_details = recog_interpreter.get_output_details()
|
| 14 |
recog_interpreter.resize_tensor_input(recog_input_details[0]['index'], (1, 24, 94, 3))
|
|
|
|
| 8 |
|
| 9 |
interpreter = tf.lite.Interpreter(model_path='detection.tflite')
|
| 10 |
interpreter.allocate_tensors()
|
| 11 |
+
recog_interpreter = tf.lite.Interpreter(model_path='recognition2.tflite')
|
| 12 |
recog_input_details = recog_interpreter.get_input_details()
|
| 13 |
recog_output_details = recog_interpreter.get_output_details()
|
| 14 |
recog_interpreter.resize_tensor_input(recog_input_details[0]['index'], (1, 24, 94, 3))
|
recognition2.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e5552d69c86c8d596be83aad9dffdf9ee466a5932db2f37d07bbe37cab64e35
|
| 3 |
+
size 797248
|