johnlockejrr commited on
Commit
e297f70
·
verified ·
1 Parent(s): f39454e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -7,6 +7,7 @@ import shutil
7
  from pathlib import Path
8
  from kraken.lib import vgsl
9
  from kraken.lib import models
 
10
  import logging
11
  import numpy as np
12
  import cv2
@@ -21,6 +22,7 @@ import re
21
  import time
22
 
23
  # Configure logging
 
24
  logging.basicConfig(level=logging.WARNING)
25
  logging.getLogger('kraken').setLevel(logging.WARNING)
26
  logging.getLogger('kraken.serialization').setLevel(logging.WARNING)
 
7
  from pathlib import Path
8
  from kraken.lib import vgsl
9
  from kraken.lib import models
10
+ from kraken import serialization
11
  import logging
12
  import numpy as np
13
  import cv2
 
22
  import time
23
 
24
  # Configure logging
25
+ logger = logging.getLogger(__name__)
26
  logging.basicConfig(level=logging.WARNING)
27
  logging.getLogger('kraken').setLevel(logging.WARNING)
28
  logging.getLogger('kraken.serialization').setLevel(logging.WARNING)