NightPrince commited on
Commit
d23f1a4
·
verified ·
1 Parent(s): 9e212fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,9 +15,9 @@ def load_model_artifacts():
15
  global model, tokenizer, max_len_seq
16
 
17
  # Paths for files in Kaggle
18
- model_path = '/kaggle/working/model.h5'
19
- tokenizer_path = '/kaggle/working/tokenizer.json'
20
- config_path = '/kaggle/working/config.json'
21
 
22
  # Load the trained model
23
  model = tf.keras.models.load_model(model_path)
 
15
  global model, tokenizer, max_len_seq
16
 
17
  # Paths for files in Kaggle
18
+ model_path = 'model.h5'
19
+ tokenizer_path = 'tokenizer.json'
20
+ config_path = 'config.json'
21
 
22
  # Load the trained model
23
  model = tf.keras.models.load_model(model_path)