wop commited on
Commit
9533abf
1 Parent(s): 42c9b09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -25,9 +25,6 @@ word_index = tokenizer.word_index
25
 
26
  # Load trained model
27
  model = load_model("conversation_model.h5")
28
- for layer in model.layers:
29
- if isinstance(layer, Embedding):
30
- layer.input_length = None
31
 
32
  # Define max_sequence_length
33
  max_sequence_length = 31 # do not change!!!
 
25
 
26
  # Load trained model
27
  model = load_model("conversation_model.h5")
 
 
 
28
 
29
  # Define max_sequence_length
30
  max_sequence_length = 31 # do not change!!!