Infinitode Pty Ltd commited on
Commit
2dd522c
·
verified ·
1 Parent(s): 03980c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def custom_pad_sequences(sequences, maxlen, padding='pre', value=0):
15
  :param value: Float, padding value.
16
  :return: Numpy array with dimensions (number_of_sequences, maxlen)
17
  """
18
- max_seq_len = 12 # For skyrim = 13, for terraria = 12
19
  padded_sequences = np.full((len(sequences), maxlen), value)
20
  for i, seq in enumerate(sequences):
21
  if padding == 'pre':
 
15
  :param value: Float, padding value.
16
  :return: Numpy array with dimensions (number_of_sequences, maxlen)
17
  """
18
+ max_len = 12
19
  padded_sequences = np.full((len(sequences), maxlen), value)
20
  for i, seq in enumerate(sequences):
21
  if padding == 'pre':