Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,25 +54,8 @@ The dataset is open source to use without limitations or any restrictions.
|
|
| 54 |
## how to use
|
| 55 |
```python
|
| 56 |
from datasets import load_dataset
|
| 57 |
-
from huggingface_hub.utils import _runtime
|
| 58 |
-
_runtime._is_google_colab = False # workaround for problems with colab
|
| 59 |
dataset = load_dataset("lowres/anime")
|
| 60 |
```
|
| 61 |
|
| 62 |
## how to contribute
|
| 63 |
-
* to add your own dataset, simply join the organization and create a new dataset repo and upload your images there. else you can open a new discussion and we'll check it out
|
| 64 |
-
* to merge your dataset with this repo simply run the following code :
|
| 65 |
-
|
| 66 |
-
```python
|
| 67 |
-
from huggingface_hub import notebook_login
|
| 68 |
-
notebook_login() # 👈 add your token with "writing access"
|
| 69 |
-
# you can find your token in settings>tokens and grab your token
|
| 70 |
-
```
|
| 71 |
-
```python
|
| 72 |
-
from datasets import load_dataset
|
| 73 |
-
repo_id = "lowres/ai-ohto" # 👈 change this
|
| 74 |
-
ds = load_dataset(repo_id)
|
| 75 |
-
character_name = repo_id.split("/")[1]
|
| 76 |
-
character_name = character_name.replace("-","")
|
| 77 |
-
ds["train"].push_to_hub("lowres/anime",split=character_name)
|
| 78 |
-
```
|
|
|
|
| 54 |
## how to use
|
| 55 |
```python
|
| 56 |
from datasets import load_dataset
|
|
|
|
|
|
|
| 57 |
dataset = load_dataset("lowres/anime")
|
| 58 |
```
|
| 59 |
|
| 60 |
## how to contribute
|
| 61 |
+
* to add your own dataset, simply join the organization and create a new dataset repo and upload your images there. else you can open a new discussion and we'll check it out
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|