Spaces:
Build error
Build error
SHAMIL SHAHBAZ AWAN commited on
Update app.py
Browse files18 unmodified lines1920212223242537 unmodified lines6364656667686918 unmodified linesembedder = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')# PathsDOCUMENTS_FOLDER = "documents"VECTORSTORE_FOLDER = "vectorstore"# Initialize FAISS vector store37 unmodified linesst.success("Documents processed and vectorstore updated!")# User interfacest.title("RAG Application with Streamlit")user_query = st.text_input("Enter your query:")18 unmodified lines192021222324252627282937 unmodified lines6768697071727318 unmodified linesembedder = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')# Pathsfile_path = "RagBaseApp/Atomic habits ( PDFDrive ).pdf"with pdfplumber.open(file_path) as pdf:for page in pdf.pages:print(page.extract_text())VECTORSTORE_FOLDER = "vectorstore"# Initialize FAISS vector store37 unmodified linesst.success("Documents processed and vectorstore updated!")# User interfacest.title("Atomic Habits RAG Application")user_query = st.text_input("Enter your query:")
app.py+6-2