masharpe commited on
Commit
4f16778
1 Parent(s): 2b37d53

Reduce logging spam

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -24,8 +24,9 @@ print(f'accelerate=={accelerate.__version__}')
24
  print()
25
 
26
  # Initialize logging.
27
- logging.basicConfig(format='%(levelname)s:%(name)s: %(message)s', level=logging.INFO)
28
  logger = logging.getLogger(__name__)
 
29
 
30
  # gr.DataFrame is currently bugged for updating values,
31
  # so we must use raw HTML.
 
24
  print()
25
 
26
  # Initialize logging.
27
+ logging.basicConfig(format='%(levelname)s:%(name)s: %(message)s', level=logging.WARNING)
28
  logger = logging.getLogger(__name__)
29
+ logger.setLevel(logging.INFO)
30
 
31
  # gr.DataFrame is currently bugged for updating values,
32
  # so we must use raw HTML.