merve HF staff commited on
Commit
1093800
1 Parent(s): 5100216

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -32,7 +32,11 @@ link_dict = {
32
 
33
 
34
 
 
 
35
 
 
 
36
  corpus = []
37
  sentence_count = []
38
 
 
32
 
33
 
34
 
35
+ model_name = 'sentence-transformers/msmarco-distilbert-base-v4'
36
+ max_sequence_length = 512
37
 
38
+ model = SentenceTransformer(model_name)
39
+ model.max_seq_length = max_sequence_length
40
  corpus = []
41
  sentence_count = []
42