brendabor commited on
Commit
62a9143
1 Parent(s): 6955253

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -5,6 +5,12 @@ import joblib
5
  import pandas as pd
6
  import numpy as np
7
 
 
 
 
 
 
 
8
  # Load your emotion prediction model
9
  emotion_model = load_model('lstm_model.h5')
10
 
 
5
  import pandas as pd
6
  import numpy as np
7
 
8
+ try:
9
+ import sklearn
10
+ st.write("scikit-learn is installed.")
11
+ except ImportError:
12
+ st.error("scikit-learn is not installed.")
13
+
14
  # Load your emotion prediction model
15
  emotion_model = load_model('lstm_model.h5')
16