Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ import sys
|
|
26 |
import warnings
|
27 |
|
28 |
def err(msg):
|
29 |
-
print( "\n[!!!] "+msg+"\n" )
|
30 |
pass
|
31 |
|
32 |
warnings.filterwarnings("ignore")
|
@@ -35,7 +35,7 @@ root = logging.getLogger()
|
|
35 |
root.setLevel(logging.DEBUG)
|
36 |
handler = logging.StreamHandler(sys.stdout)
|
37 |
handler.setLevel(logging.DEBUG)
|
38 |
-
formatter = logging.Formatter('\n>>> [%(levelname)s] %(asctime)s %(name)s: %(message)s\n')
|
39 |
handler.setFormatter(formatter)
|
40 |
root.addHandler(handler)
|
41 |
|
|
|
26 |
import warnings
|
27 |
|
28 |
def err(msg):
|
29 |
+
print( "\n >>> [!!!] "+msg+"\n" )
|
30 |
pass
|
31 |
|
32 |
warnings.filterwarnings("ignore")
|
|
|
35 |
root.setLevel(logging.DEBUG)
|
36 |
handler = logging.StreamHandler(sys.stdout)
|
37 |
handler.setLevel(logging.DEBUG)
|
38 |
+
formatter = logging.Formatter('\n >>> [%(levelname)s] %(asctime)s %(name)s: %(message)s\n')
|
39 |
handler.setFormatter(formatter)
|
40 |
root.addHandler(handler)
|
41 |
|