HaryaniAnjali commited on
Commit
91ef8ce
·
verified ·
1 Parent(s): d684717

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ class GenAIQASystem:
96
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
97
  texts = text_splitter.split_text(self.content)
98
 
99
- embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
100
 
101
  if os.path.exists("faiss_index"):
102
  print("Loading FAISS index from disk...")
 
96
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
97
  texts = text_splitter.split_text(self.content)
98
 
99
+ embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")
100
 
101
  if os.path.exists("faiss_index"):
102
  print("Loading FAISS index from disk...")