Spaces:
Running
Running
Update app.py
Browse files
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 |
|