Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ p = pipeline("automatic-speech-recognition")
|
|
50 |
|
51 |
w2v = dict({})
|
52 |
for idx, key in enumerate(glove_vectors.wv.vocab):
|
53 |
-
w2v[key] = glove_vectors.
|
54 |
|
55 |
def calculate_diversity(text):
|
56 |
|
|
|
50 |
|
51 |
w2v = dict({})
|
52 |
for idx, key in enumerate(glove_vectors.wv.vocab):
|
53 |
+
w2v[key] = glove_vectors.get_vector(key)
|
54 |
|
55 |
def calculate_diversity(text):
|
56 |
|