jlvdoorn commited on
Commit
5d142eb
1 Parent(s): a5fc779
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ atco2 = load_dataset('jlvdoorn/atco2-asr', split='validation')
11
  atcosim = load_dataset('jlvdoorn/atcosim', split='validation')
12
 
13
  num_examples = 3
14
- examples_atco2 = [[atco2[i]['audio']['array'], False, 'large-v3'] for i in range(num_examples)]
15
- examples_atcosim = [[atcosim[i]['audio']['array'], False, 'large-v3'] for i in range(num_examples)]
16
  examples = examples_atco2 + examples_atcosim
17
  # examples = [atco2[0]['audio']['array'], atcosim[0]['audio']['array'], atco2[1]['audio']['array'], atcosim[1]['audio']['array'], atco2[2]['audio']['array'], atcosim[2]['audio']['array']]
18
  # examples_labels = ['Example ' + str(i+1) for i in range(len(examples))]
 
11
  atcosim = load_dataset('jlvdoorn/atcosim', split='validation')
12
 
13
  num_examples = 3
14
+ examples_atco2 = [[atco2[i]['audio'], False, 'large-v3'] for i in range(num_examples)]
15
+ examples_atcosim = [[atcosim[i]['audio'], False, 'large-v3'] for i in range(num_examples)]
16
  examples = examples_atco2 + examples_atcosim
17
  # examples = [atco2[0]['audio']['array'], atcosim[0]['audio']['array'], atco2[1]['audio']['array'], atcosim[1]['audio']['array'], atco2[2]['audio']['array'], atcosim[2]['audio']['array']]
18
  # examples_labels = ['Example ' + str(i+1) for i in range(len(examples))]