riccorl commited on
Commit
087c2a2
1 Parent(s): 81811f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -180,9 +180,9 @@ def run_client():
180
  # submit = st.button("Run")
181
 
182
  relik = Relik(
183
- question_encoder=Path(__file__).parent / "models" / "relik-retriever-small-aida-blink-pretrain-omniencoder" / "question_encoder",
184
- document_index=Path(__file__).parent / "models" / "relik-retriever-small-aida-blink-pretrain-omniencoder" / "document_index",
185
- reader=Path(__file__).parent / "models" /"relik-reader-aida-deberta-small",
186
  top_k=100,
187
  window_size=32,
188
  window_stride=16,
 
180
  # submit = st.button("Run")
181
 
182
  relik = Relik(
183
+ question_encoder="/home/user/app/models/relik-retriever-small-aida-blink-pretrain-omniencoder/question_encoder",
184
+ document_index="/home/user/app/models/relik-retriever-small-aida-blink-pretrain-omniencoder/document_index",
185
+ reader="/home/user/app/models/relik-reader-aida-deberta-small",
186
  top_k=100,
187
  window_size=32,
188
  window_stride=16,