Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ The dataset is open source to use without limitations or any restrictions.
|
|
52 |
from datasets import load_dataset
|
53 |
from huggingface_hub.utils import _runtime
|
54 |
_runtime._is_google_colab = False # workaround for problems with colab
|
55 |
-
dataset = load_dataset("
|
56 |
```
|
57 |
|
58 |
## how to contribute
|
@@ -66,13 +66,10 @@ notebook_login() # 👈 add your token with "writing access"
|
|
66 |
```
|
67 |
```python
|
68 |
from datasets import load_dataset
|
69 |
-
from huggingface_hub.utils import _runtime
|
70 |
-
_runtime._is_google_colab = False # workaround for problems with colab
|
71 |
repo_id = "lowres/ai-ohto" # 👈 change this
|
72 |
-
ds = load_dataset(
|
73 |
-
ds2 = load_dataset(repo_id)
|
74 |
character_name = repo_id.split("/")[1]
|
75 |
character_name = character_name.replace("-","")
|
76 |
-
|
77 |
-
ds.push_to_hub("lowres/anime")
|
78 |
```
|
|
|
52 |
from datasets import load_dataset
|
53 |
from huggingface_hub.utils import _runtime
|
54 |
_runtime._is_google_colab = False # workaround for problems with colab
|
55 |
+
dataset = load_dataset("lowres/anime")
|
56 |
```
|
57 |
|
58 |
## how to contribute
|
|
|
66 |
```
|
67 |
```python
|
68 |
from datasets import load_dataset
|
|
|
|
|
69 |
repo_id = "lowres/ai-ohto" # 👈 change this
|
70 |
+
ds = load_dataset(repo_id)
|
|
|
71 |
character_name = repo_id.split("/")[1]
|
72 |
character_name = character_name.replace("-","")
|
73 |
+
# rename column (TODO)
|
74 |
+
ds.push_to_hub("lowres/anime",split=character_name)
|
75 |
```
|