Update README.md
Browse files
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 |
+
```
|