narugo commited on
Commit
be3a8f3
1 Parent(s): 8ca2d53

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -1
README.md CHANGED
@@ -2,4 +2,19 @@
2
  license: openrail
3
  ---
4
 
5
- Index repository for [nyanko7/yandere2023](https://huggingface.co/datasets/nyanko7/yandere2023).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: openrail
3
  ---
4
 
5
+ Index repository for [nyanko7/yandere2023](https://huggingface.co/datasets/nyanko7/yandere2023).
6
+
7
+ You can download any files inside archives like this
8
+
9
+ ```python
10
+ # requires, hfutils>0.4.3
11
+ from hfutils.index import hf_tar_file_download
12
+
13
+ hf_tar_file_download(
14
+ repo_id='nyanko7/yandere2023',
15
+ idx_repo_id='deepghs/yandere2023_index',
16
+ archive_in_repo='original/data-0000.tar',
17
+ file_in_archive='970000.png',
18
+ local_file='970000.png' # save it to 970000.png
19
+ )
20
+ ```