JumaRubea commited on
Commit
e3187ed
·
verified ·
1 Parent(s): 9e1ab4e

Update src/app.py

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -6,7 +6,7 @@ st.set_page_config(page_title="Document Chatbot")
6
  st.title("Chat with your Documents")
7
 
8
  @st.cache_resource
9
- def initialize_rag_components(file_path="me.txt"):
10
  """Initializes and caches RAG components."""
11
  if not os.path.exists(file_path):
12
  st.error(f"Error: Document file not found at {file_path}")
 
6
  st.title("Chat with your Documents")
7
 
8
  @st.cache_resource
9
+ def initialize_rag_components(file_path="src/me.txt"):
10
  """Initializes and caches RAG components."""
11
  if not os.path.exists(file_path):
12
  st.error(f"Error: Document file not found at {file_path}")