Nurisslam commited on
Commit
5049f49
·
verified ·
1 Parent(s): 4a565f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def read_docx(file_path):
14
  return '\n'.join(full_text)
15
 
16
  # Загрузи и сохрани текст из документа
17
- document_text = read_docx("yourfile.docx")[:3000]
18
 
19
  # Основная функция общения
20
  def chat_with_ai(user_message):
 
14
  return '\n'.join(full_text)
15
 
16
  # Загрузи и сохрани текст из документа
17
+ document_text = read_docx("yourfile.docx")[:300]
18
 
19
  # Основная функция общения
20
  def chat_with_ai(user_message):