ccm commited on
Commit
5d19a83
·
1 Parent(s): fa3addb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def load_data():
18
  from datasets import load_dataset
19
 
20
 
21
- data = load_dataset("cmudrc/wave-energy", data_files="data.zip")
22
  curvey_curves = [numpy.array(x)/1000000 for x in data['curves']]
23
  round_geometry = [numpy.array(x) for x in data['geometry']]
24
  geometry = [x.flatten() for x in round_geometry]
 
18
  from datasets import load_dataset
19
 
20
 
21
+ data = load_dataset("cmudrc/wave-energy", data_files=["data.zip"], split='train')
22
  curvey_curves = [numpy.array(x)/1000000 for x in data['curves']]
23
  round_geometry = [numpy.array(x) for x in data['geometry']]
24
  geometry = [x.flatten() for x in round_geometry]