Shreyas094 commited on
Commit
63bcdb6
·
verified ·
1 Parent(s): 1e4a9a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def load_document(file: NamedTemporaryFile, parser: str = "llamaparse") -> List[
72
  raise ValueError("Invalid parser specified. Use 'pypdf' or 'llamaparse'.")
73
 
74
  def get_embeddings():
75
- return HuggingFaceEmbeddings(model_name="sentence-transformers/stsb-roberta-large")
76
 
77
  # Add this at the beginning of your script, after imports
78
  DOCUMENTS_FILE = "uploaded_documents.json"
 
72
  raise ValueError("Invalid parser specified. Use 'pypdf' or 'llamaparse'.")
73
 
74
  def get_embeddings():
75
+ return HuggingFaceEmbeddings(model_name="avsolatorio/GIST-Embedding-v0")
76
 
77
  # Add this at the beginning of your script, after imports
78
  DOCUMENTS_FILE = "uploaded_documents.json"