Update src/app.py
Browse files- 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}")
|