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