Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def extract_names_from_text(text):
|
|
| 18 |
return persons
|
| 19 |
|
| 20 |
# Funci贸n para dividir el texto en fragmentos m谩s peque帽os
|
| 21 |
-
def split_text(text, max_length=
|
| 22 |
paragraphs = text.split('\n\n') # Divide el texto en p谩rrafos
|
| 23 |
result = []
|
| 24 |
current_chunk = []
|
|
|
|
| 18 |
return persons
|
| 19 |
|
| 20 |
# Funci贸n para dividir el texto en fragmentos m谩s peque帽os
|
| 21 |
+
def split_text(text, max_length=100000):
|
| 22 |
paragraphs = text.split('\n\n') # Divide el texto en p谩rrafos
|
| 23 |
result = []
|
| 24 |
current_chunk = []
|