Yaron Koresh commited on
Commit
302bc3b
·
verified ·
1 Parent(s): 7059eb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,9 +31,9 @@ from PIL import Image, ImageDraw, ImageFont
31
 
32
  warnings.filterwarnings("ignore")
33
  root = logging.getLogger()
34
- root.setLevel(logging.DEBUG)
35
  handler = logging.StreamHandler(sys.stderr)
36
- handler.setLevel(logging.DEBUG)
37
  formatter = logging.Formatter('\n >>> [%(levelname)s] %(asctime)s %(name)s: %(message)s\n')
38
  handler.setFormatter(formatter)
39
  root.addHandler(handler)
 
31
 
32
  warnings.filterwarnings("ignore")
33
  root = logging.getLogger()
34
+ root.setLevel(logging.WARN)
35
  handler = logging.StreamHandler(sys.stderr)
36
+ handler.setLevel(logging.WARN)
37
  formatter = logging.Formatter('\n >>> [%(levelname)s] %(asctime)s %(name)s: %(message)s\n')
38
  handler.setFormatter(formatter)
39
  root.addHandler(handler)