Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from openai import OpenAI
|
|
20 |
# Preload the RAGMultiModalModel
|
21 |
@st.cache_resource
|
22 |
def load_model():
|
23 |
-
return RAGMultiModalModel.from_index("medical_index")
|
24 |
|
25 |
RAG = load_model()
|
26 |
|
|
|
20 |
# Preload the RAGMultiModalModel
|
21 |
@st.cache_resource
|
22 |
def load_model():
|
23 |
+
return RAGMultiModalModel.from_index("./medical_index")
|
24 |
|
25 |
RAG = load_model()
|
26 |
|