Skip to content

Commit 47e7ddb

Browse files
authored
update utils.py
1 parent ec39a68 commit 47e7ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exercise6/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def getVocabList():
331331
332332
:return:
333333
"""
334-
vocabList = np.genfromtxt(join('Data', 'vocab.txt'), dtype=object)
334+
vocabList = np.genfromtxt(join('Data', 'vocab.txt'), dtype=str)
335335
return list(vocabList[:, 1].astype(str))
336336

337337

0 commit comments

Comments
 (0)