Manel commited on
Commit
ee8853c
·
verified ·
1 Parent(s): 896e04c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def wrap_model(model, tokenizer):
99
 
100
 
101
 
102
- def fetch_context(db, model, query, template, use_compressor=True):
103
  """
104
  Perform similarity search and retrieve related context to query.
105
  I have stored large documents in db so I can apply compressor on the set of retrived documents to
 
99
 
100
 
101
 
102
+ def fetch_context(db, model, model_name, query, template, use_compressor=True):
103
  """
104
  Perform similarity search and retrieve related context to query.
105
  I have stored large documents in db so I can apply compressor on the set of retrived documents to