Danielrahmai1991 commited on
Commit
69962b5
·
verified ·
1 Parent(s): 5e0943d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def process_file(files, topic):
55
  chucnks = smart_chunking(text)
56
  # print(f"for file {file_path}", text[:1000])
57
  for chunk in chucnks:
58
- texts.append(text)
59
  topics.append(topic)
60
  dates.append(datetime.datetime.now().isoformat())
61
  # Spl
 
55
  chucnks = smart_chunking(text)
56
  # print(f"for file {file_path}", text[:1000])
57
  for chunk in chucnks:
58
+ texts.append(chunk)
59
  topics.append(topic)
60
  dates.append(datetime.datetime.now().isoformat())
61
  # Spl