Nguyen Thi Dieu Hien commited on
Commit
f9ba378
·
unverified ·
1 Parent(s): da9c408

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import re
12
 
13
  # Visualize
14
  import numpy as np
15
-
16
 
17
  # Model
18
  import tensorflow as tf
@@ -26,6 +26,8 @@ from sklearn.model_selection import StratifiedKFold
26
  # Evaluate
27
  from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score
28
 
 
 
29
  # Set up the Streamlit page
30
  st.set_page_config(layout='wide')
31
 
 
12
 
13
  # Visualize
14
  import numpy as np
15
+ import logging
16
 
17
  # Model
18
  import tensorflow as tf
 
26
  # Evaluate
27
  from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score
28
 
29
+ # Set the logging level to ERROR to hide warnings
30
+ logging.getLogger('streamlit').setLevel(logging.ERROR)
31
  # Set up the Streamlit page
32
  st.set_page_config(layout='wide')
33