CarlosMalaga
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -160,37 +160,37 @@ def load_model():
|
|
160 |
|
161 |
retriever_question = GoldenRetriever(
|
162 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
163 |
-
document_index="home/user/app/models/retriever/document_index/questions"
|
164 |
|
165 |
)
|
166 |
|
167 |
retriever_intervention = GoldenRetriever(
|
168 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
169 |
-
document_index="home/user/app/models/retriever/document_index/interventions"
|
170 |
|
171 |
)
|
172 |
|
173 |
retriever_outcome = GoldenRetriever(
|
174 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
175 |
-
document_index="home/user/app/models/retriever/document_index/outcomes"
|
176 |
|
177 |
)
|
178 |
|
179 |
retriever_question_db = GoldenRetriever(
|
180 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
181 |
-
document_index="home/user/app/models/retriever/document_index/question_db"
|
182 |
|
183 |
)
|
184 |
|
185 |
retriever_intervention_db = GoldenRetriever(
|
186 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
187 |
-
document_index="home/user/app/models/retriever/document_index/interventions_db"
|
188 |
|
189 |
)
|
190 |
|
191 |
retriever_outcome_db = GoldenRetriever(
|
192 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
193 |
-
document_index="home/user/app/models/retriever/document_index/outcomes_db"
|
194 |
|
195 |
)
|
196 |
|
|
|
160 |
|
161 |
retriever_question = GoldenRetriever(
|
162 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
163 |
+
document_index="/home/user/app/models/retriever/document_index/questions"
|
164 |
|
165 |
)
|
166 |
|
167 |
retriever_intervention = GoldenRetriever(
|
168 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
169 |
+
document_index="/home/user/app/models/retriever/document_index/interventions"
|
170 |
|
171 |
)
|
172 |
|
173 |
retriever_outcome = GoldenRetriever(
|
174 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
175 |
+
document_index="/home/user/app/models/retriever/document_index/outcomes"
|
176 |
|
177 |
)
|
178 |
|
179 |
retriever_question_db = GoldenRetriever(
|
180 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
181 |
+
document_index="/home/user/app/models/retriever/document_index/question_db"
|
182 |
|
183 |
)
|
184 |
|
185 |
retriever_intervention_db = GoldenRetriever(
|
186 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
187 |
+
document_index="/home/user/app/models/retriever/document_index/interventions_db"
|
188 |
|
189 |
)
|
190 |
|
191 |
retriever_outcome_db = GoldenRetriever(
|
192 |
question_encoder="/home/user/app/models/retriever/question_encoder",
|
193 |
+
document_index="/home/user/app/models/retriever/document_index/outcomes_db"
|
194 |
|
195 |
)
|
196 |
|