sun-tana commited on
Commit
0104595
β€’
1 Parent(s): ec79a0c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def create_model():
22
  # input_layer = Input(shape=(input_ids.shape[1],))
23
  # embedding_layer = Embedding(max_seq_length+ 1, 200, input_length=max_seq_length)(input_layer)
24
 
25
- inputs = tf.keras.layers.Input(shape=(input_ids.shape[1],), dtype=tf.int32)
26
  embedding_layer = transformer_model(inputs)[0]
27
 
28
  flatten_layer = Flatten()(embedding_layer)
 
22
  # input_layer = Input(shape=(input_ids.shape[1],))
23
  # embedding_layer = Embedding(max_seq_length+ 1, 200, input_length=max_seq_length)(input_layer)
24
 
25
+ inputs = tf.keras.layers.Input(shape=(max_seq_length,), dtype=tf.int32)
26
  embedding_layer = transformer_model(inputs)[0]
27
 
28
  flatten_layer = Flatten()(embedding_layer)