Spaces:
Sleeping
Sleeping
Fix: Fixed RecurssiveTextSplitter issue
Browse files- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -20,6 +20,7 @@ import io
|
|
20 |
import sys
|
21 |
import traceback
|
22 |
import shutil
|
|
|
23 |
|
24 |
embedder = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
|
25 |
|
|
|
20 |
import sys
|
21 |
import traceback
|
22 |
import shutil
|
23 |
+
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
24 |
|
25 |
embedder = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
|
26 |
|
requirements.txt
CHANGED
@@ -5,4 +5,5 @@ faiss-cpu
|
|
5 |
torch
|
6 |
datasets
|
7 |
scikit-learn
|
8 |
-
groq
|
|
|
|
5 |
torch
|
6 |
datasets
|
7 |
scikit-learn
|
8 |
+
groq
|
9 |
+
langchain.text_splitter
|