SHAMIL SHAHBAZ AWAN commited on
Commit
67c0653
·
verified ·
1 Parent(s): 8a90b7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,7 +70,7 @@ groq_client = Client(api_key=HUGGINGFACE_KEY)
70
  embedder = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
71
 
72
  # Define file path and vector store folder
73
- file_path = "Atomic habits ( PDFDrive ).pdf" # File directly in the root directory of the app
74
  VECTORSTORE_FOLDER = "vectorstore" # Folder where the FAISS index will be stored
75
 
76
  # Ensure the vector store folder exists
@@ -139,7 +139,7 @@ def process_and_store_document(file_path):
139
  st.error(f"Error saving the FAISS index: {e}")
140
 
141
  # User interface for Streamlit
142
- st.title("Atomic Habits RAG Application")
143
 
144
  # Button to trigger document processing
145
  if st.button("Process PDF"):
 
70
  embedder = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
71
 
72
  # Define file path and vector store folder
73
+ file_path = "The Rise of Agentic AI.pdf" # File directly in the root directory of the app
74
  VECTORSTORE_FOLDER = "vectorstore" # Folder where the FAISS index will be stored
75
 
76
  # Ensure the vector store folder exists
 
139
  st.error(f"Error saving the FAISS index: {e}")
140
 
141
  # User interface for Streamlit
142
+ st.title("The Rise of Agentic AI RAG Application")
143
 
144
  # Button to trigger document processing
145
  if st.button("Process PDF"):