Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,9 @@ def chunk_text(text: str, chunk_size: int = 500) -> List[str]:
|
|
47 |
chunks.append(' '.join(current_chunk))
|
48 |
return chunks
|
49 |
|
|
|
|
|
|
|
50 |
@lru_cache(maxsize=100)
|
51 |
def cached_preprocess(text: str) -> str:
|
52 |
"""자주 사용되는 텍스트에 대한 전처리 결과를 캐싱"""
|
|
|
47 |
chunks.append(' '.join(current_chunk))
|
48 |
return chunks
|
49 |
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
@lru_cache(maxsize=100)
|
54 |
def cached_preprocess(text: str) -> str:
|
55 |
"""자주 사용되는 텍스트에 대한 전처리 결과를 캐싱"""
|