YchKhan commited on
Commit
0ecdd79
1 Parent(s): 2d79f61

Update split_files_to_excel.py

Browse files
Files changed (1) hide show
  1. split_files_to_excel.py +1 -0
split_files_to_excel.py CHANGED
@@ -68,6 +68,7 @@ text_splitter = CharacterTextSplitter(
68
 
69
  def function_split_call(fi_input, dropdown, choice, chunk_size):
70
  if choice == "Intelligent split":
 
71
  return split_in_df(fi_input, nb_pages)
72
  elif choice == "Non intelligent split":
73
  return non_intelligent_split(fi_input, chunk_size)
 
68
 
69
  def function_split_call(fi_input, dropdown, choice, chunk_size):
70
  if choice == "Intelligent split":
71
+ nb_pages = chunk_size
72
  return split_in_df(fi_input, nb_pages)
73
  elif choice == "Non intelligent split":
74
  return non_intelligent_split(fi_input, chunk_size)