Spaces:
Runtime error
Runtime error
edit prediction.py maxlen 106
Browse files- prediction.py +1 -1
prediction.py
CHANGED
@@ -105,7 +105,7 @@ def run():
|
|
105 |
df_inf_transform = t.texts_to_sequences(df_inf_transform)
|
106 |
# Padding the dataset to a maximum review length in words
|
107 |
|
108 |
-
df_inf_transform = pad_sequences(df_inf_transform, maxlen=
|
109 |
|
110 |
|
111 |
if submitted:
|
|
|
105 |
df_inf_transform = t.texts_to_sequences(df_inf_transform)
|
106 |
# Padding the dataset to a maximum review length in words
|
107 |
|
108 |
+
df_inf_transform = pad_sequences(df_inf_transform, maxlen=106)
|
109 |
|
110 |
|
111 |
if submitted:
|