Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
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.
|
35 |
handler = logging.StreamHandler(sys.stderr)
|
36 |
-
handler.setLevel(logging.
|
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)
|