SamanthaStorm commited on
Commit
5d703a7
·
verified ·
1 Parent(s): 950da18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -59,6 +59,13 @@ ch.setLevel(logging.DEBUG)
59
  ch.setFormatter(CustomFormatter())
60
  logger.addHandler(ch)
61
 
 
 
 
 
 
 
 
62
 
63
 
64
  # Model initialization
 
59
  ch.setFormatter(CustomFormatter())
60
  logger.addHandler(ch)
61
 
62
+ # Suppress matplotlib font debugging
63
+ matplotlib_logger = logging.getLogger('matplotlib.font_manager')
64
+ matplotlib_logger.setLevel(logging.WARNING)
65
+
66
+ # Also suppress the UserWarning about tight layout
67
+ import warnings
68
+ warnings.filterwarnings("ignore", message="Tight layout not applied")
69
 
70
 
71
  # Model initialization