dragonSwing
commited on
Commit
•
7f0e78a
1
Parent(s):
3e00b7f
Update README
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ def download_files(repo_id, cache_dir=None, ignore_regex=None):
|
|
41 |
shutil.move(os.path.join(download_dir, file_name), cache_dir)
|
42 |
os.rmdir(download_dir)
|
43 |
return cache_dir
|
44 |
-
download_files(repo_id="dragonSwing/vibert-capu", cache_dir=cache_dir, ignore_regex=["*.json", "*.bin"])
|
45 |
sys.path.append(cache_dir)
|
46 |
```
|
47 |
2. Sample python code
|
|
|
41 |
shutil.move(os.path.join(download_dir, file_name), cache_dir)
|
42 |
os.rmdir(download_dir)
|
43 |
return cache_dir
|
44 |
+
cache_dir = download_files(repo_id="dragonSwing/vibert-capu", cache_dir=cache_dir, ignore_regex=["*.json", "*.bin"])
|
45 |
sys.path.append(cache_dir)
|
46 |
```
|
47 |
2. Sample python code
|