Skip to content

Commit

Permalink
Merge pull request #461 from FrancoMuniz/patch-1
Browse files Browse the repository at this point in the history
Quick fix for issue #424
  • Loading branch information
jxmorris12 committed May 23, 2021
2 parents 10309a3 + b8a5830 commit fe8bd66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textattack/shared/word_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def counterfitted_GLOVE_embedding():
# Download embeddings if they're not cached.
word_embeddings_folder = os.path.join(
WordEmbedding.PATH, word_embeddings_folder
)
).replace("\\", "/")
word_embeddings_folder = utils.download_if_needed(word_embeddings_folder)
# Concatenate folder names to create full path to files.
word_embeddings_file = os.path.join(
Expand Down

0 comments on commit fe8bd66

Please sign in to comment.