Update app.py
Browse files
app.py
CHANGED
|
@@ -540,7 +540,7 @@ def load_and_process_documents(path):
|
|
| 540 |
|
| 541 |
doc_texts = load_and_process_documents(folder_path)
|
| 542 |
|
| 543 |
-
with open('
|
| 544 |
stop_words = set(file.read().splitlines())
|
| 545 |
|
| 546 |
def remove_stop_words(text, stop_words):
|
|
|
|
| 540 |
|
| 541 |
doc_texts = load_and_process_documents(folder_path)
|
| 542 |
|
| 543 |
+
with open('stopwords.txt', 'r', encoding='utf-8') as file:
|
| 544 |
stop_words = set(file.read().splitlines())
|
| 545 |
|
| 546 |
def remove_stop_words(text, stop_words):
|