gaonkarrs commited on
Commit
34c4cd5
·
1 Parent(s): 6100f4f

Fix: Fixed RecurssiveTextSplitter issue

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. 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