TiMauzi commited on
Commit
dc2b258
·
verified ·
1 Parent(s): b83f30b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -105,9 +105,12 @@ from datasets import load_dataset
105
  dataset = load_dataset('TiMauzi/imslp-midi-by-nc-sa')
106
  ```
107
 
108
- The data in the column `midi` are raw bytes. You may want to use packages like `mido` to analyze them. For example, to view the content of the first MIDI file, you can use a script as follows:
109
 
110
  ```python
 
 
 
111
  train_data = dataset['train'] # assuming you already loaded the dataset as described
112
 
113
  # Take the first example
 
105
  dataset = load_dataset('TiMauzi/imslp-midi-by-nc-sa')
106
  ```
107
 
108
+ The data in the column `midi` are raw bytes. You may want to use [packages like `mido`](https://github.com/mido/mido) to analyze them. For example, to view the content of the first MIDI file, you can use a script as follows:
109
 
110
  ```python
111
+ import mido
112
+ import io
113
+
114
  train_data = dataset['train'] # assuming you already loaded the dataset as described
115
 
116
  # Take the first example