Spaces:
Build error
Build error
Download punkt
Browse files- vendiscore.py +3 -2
vendiscore.py
CHANGED
@@ -93,8 +93,9 @@ class VendiScore(evaluate.Metric):
|
|
93 |
)
|
94 |
|
95 |
def _download_and_prepare(self, dl_manager):
|
96 |
-
|
97 |
-
|
|
|
98 |
|
99 |
def _compute(
|
100 |
self,
|
|
|
93 |
)
|
94 |
|
95 |
def _download_and_prepare(self, dl_manager):
|
96 |
+
import nltk
|
97 |
+
|
98 |
+
nltk.download("punkt")
|
99 |
|
100 |
def _compute(
|
101 |
self,
|