SergeyO7 commited on
Commit
743adb7
·
verified ·
1 Parent(s): 5f1789a

Rename app1.py to app.py

Browse files
Files changed (1) hide show
  1. app1.py → app.py +2 -1
app1.py → app.py RENAMED
@@ -76,7 +76,8 @@ def split_text(documents: list[Document]):
76
  )
77
  chunks = text_splitter.split_documents(documents)
78
  global status_message
79
- status_message += f"\nРазделено {len(documents)} документов на {len(chunks)} частей."
 
80
  return chunks
81
 
82
  def save_to_chroma(chunks: list[Document]):
 
76
  )
77
  chunks = text_splitter.split_documents(documents)
78
  global status_message
79
+ status_message += f"\nРазделено {len(documents
80
+ )} документов на {len(chunks)} частей."
81
  return chunks
82
 
83
  def save_to_chroma(chunks: list[Document]):