Devap001 commited on
Commit
ea52283
Β·
1 Parent(s): 376af75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ overview = dataset['train']['Overview']
14
 
15
  model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
16
 
 
17
  vectors = model.encode(overview)
18
 
19
  vector_dimension = vectors.shape[1]
 
14
 
15
  model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
16
 
17
+ overview = overview[:200]
18
  vectors = model.encode(overview)
19
 
20
  vector_dimension = vectors.shape[1]