Thomas Lucchetta
commited on
Commit
•
7abca29
1
Parent(s):
0854c30
fix warnings
Browse files- .streamlit/config.toml +2 -0
- app.py +0 -3
.streamlit/config.toml
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[client]
|
2 |
+
showErrorDetails = false
|
app.py
CHANGED
@@ -37,9 +37,6 @@ load_img = LoadImage(image_only=True)
|
|
37 |
#SET CLASSES
|
38 |
class_names = CLASSES
|
39 |
|
40 |
-
#SILENCE STREAMIT WARNING
|
41 |
-
st.set_option('deprecation.showPyplotGlobalUse', False)
|
42 |
-
|
43 |
#SET STREAMLIT SESSION STATES
|
44 |
if 'clicked_pp' not in st.session_state:
|
45 |
st.session_state.clicked_pp = False
|
|
|
37 |
#SET CLASSES
|
38 |
class_names = CLASSES
|
39 |
|
|
|
|
|
|
|
40 |
#SET STREAMLIT SESSION STATES
|
41 |
if 'clicked_pp' not in st.session_state:
|
42 |
st.session_state.clicked_pp = False
|