Update app.py
Browse files66 unmodified lines6768697071727366 unmodified linesraise ValueError("Invalid parser specified. Use 'pypdf' or 'llamaparse'.")def get_embeddings():return HuggingFaceEmbeddings(model_name="sentence-transformers/stsb-roberta-large")# Add this at the beginning of your script, after importsDOCUMENTS_FILE = "uploaded_documents.json"66 unmodified lines6768697071727366 unmodified linesraise ValueError("Invalid parser specified. Use 'pypdf' or 'llamaparse'.")def get_embeddings():return HuggingFaceEmbeddings(model_name="avsolatorio/GIST-Embedding-v0")# Add this at the beginning of your script, after importsDOCUMENTS_FILE = "uploaded_documents.json"
app.py+1-1