Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ overview = dataset['train']['Overview']
|
|
14 |
|
15 |
model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
|
16 |
|
17 |
-
overview = overview[:
|
18 |
vectors = model.encode(overview)
|
19 |
|
20 |
vector_dimension = vectors.shape[1]
|
|
|
14 |
|
15 |
model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
|
16 |
|
17 |
+
overview = overview[:10000]
|
18 |
vectors = model.encode(overview)
|
19 |
|
20 |
vector_dimension = vectors.shape[1]
|