TiMauzi commited on
Commit
3a02ad2
·
verified ·
1 Parent(s): 321b7fd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -106,9 +106,12 @@ from datasets import load_dataset
106
  dataset = load_dataset('TiMauzi/imslp-midi-by-sa')
107
  ```
108
 
109
- 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:
110
 
111
  ```python
 
 
 
112
  train_data = dataset['train'] # assuming you already loaded the dataset as described
113
 
114
  # Take the first example
 
106
  dataset = load_dataset('TiMauzi/imslp-midi-by-sa')
107
  ```
108
 
109
+ 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:
110
 
111
  ```python
112
+ import mido
113
+ import io
114
+
115
  train_data = dataset['train'] # assuming you already loaded the dataset as described
116
 
117
  # Take the first example