Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ st.title("Juma's Assistant")
|
|
| 18 |
st.markdown("---")
|
| 19 |
|
| 20 |
@st.cache_resource
|
| 21 |
-
def initialize_rag_components(file_path="me.txt"):
|
| 22 |
"""Initializes and caches RAG components with better error handling."""
|
| 23 |
try:
|
| 24 |
if not os.path.exists(file_path):
|
|
|
|
| 18 |
st.markdown("---")
|
| 19 |
|
| 20 |
@st.cache_resource
|
| 21 |
+
def initialize_rag_components(file_path="./me.txt"):
|
| 22 |
"""Initializes and caches RAG components with better error handling."""
|
| 23 |
try:
|
| 24 |
if not os.path.exists(file_path):
|