Skip to content

Commit 047da03

Browse files
committed
Debug
1 parent 9738f7b commit 047da03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tokenizers/from_pretrained.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def cache_dir
113113
# https://docs.rs/dirs/latest/dirs/fn.cache_dir.html
114114
dir =
115115
if Gem.win_platform?
116-
ENV.fetch("LOCALAPPDATA")
116+
ENV.fetch("LOCALAPPDATA").gsub("\\", "/")
117117
elsif mac?
118118
File.join(ENV.fetch("HOME"), "Library", "Caches")
119119
else

0 commit comments

Comments
 (0)