Su4374651 commited on
Commit
a8c7b43
1 Parent(s): aa91235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -27,7 +27,6 @@ class MyApp:
27
  print("PDF processed successfully!")
28
 
29
  def build_vector_db(self) -> None:
30
- """Builds a vector database using the content of the PDF."""
31
  model = SentenceTransformer('all-MiniLM-L6-v2')
32
  # Generate embeddings for all document contents
33
  self.embeddings = model.encode([doc["content"] for doc in self.documents])
 
27
  print("PDF processed successfully!")
28
 
29
  def build_vector_db(self) -> None:
 
30
  model = SentenceTransformer('all-MiniLM-L6-v2')
31
  # Generate embeddings for all document contents
32
  self.embeddings = model.encode([doc["content"] for doc in self.documents])