HMPhuoc commited on
Commit
c2d9b12
1 Parent(s): cb0409e

add keras to requirements.txt

Browse files
Files changed (3) hide show
  1. __pycache__/app.cpython-310.pyc +0 -0
  2. app.py +1 -1
  3. requirements.txt +1 -0
__pycache__/app.cpython-310.pyc ADDED
Binary file (2.62 kB). View file
 
app.py CHANGED
@@ -19,7 +19,7 @@ with open(fp,mode="rb") as f:
19
 
20
  #Load LSTM
21
  fp = Path(__file__).with_name('lstm_model.h5')
22
- LSTM_model = tf.keras.models.load_model(fp)
23
 
24
  #Load GRU
25
  fp = Path(__file__).with_name('gru_model.h5')
 
19
 
20
  #Load LSTM
21
  fp = Path(__file__).with_name('lstm_model.h5')
22
+ LSTM_model = load_model(fp)
23
 
24
  #Load GRU
25
  fp = Path(__file__).with_name('gru_model.h5')
requirements.txt CHANGED
@@ -6,4 +6,5 @@ numpy
6
  pathlib
7
  plotly
8
  pandas
 
9
  underthesea
 
6
  pathlib
7
  plotly
8
  pandas
9
+ keras
10
  underthesea