Update app.py
Browse files
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")[:
|
| 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):
|