Update app.py
Browse files
app.py
CHANGED
@@ -17,11 +17,12 @@ def load_data():
|
|
17 |
|
18 |
from datasets import load_dataset
|
19 |
|
20 |
-
|
|
|
21 |
|
22 |
# Open all the files we downloaded at the beginning and take out hte good bits
|
23 |
-
curves = data.iloc[:, [i for i in range(1, 3*64+1)]]
|
24 |
-
geometry = data.iloc[:, [i for i in range(1 + 3*64, 1 + 3*64 + 32**3)]]
|
25 |
S = 5
|
26 |
N = 1000
|
27 |
D = 3
|
|
|
17 |
|
18 |
from datasets import load_dataset
|
19 |
|
20 |
+
curves = load_dataset("cmudrc/wave-energy", data_files="curves.zip", split='train').to_pandas()
|
21 |
+
curves = load_dataset("cmudrc/wave-energy", data_files="geometry.zip", split='train').to_pandas()
|
22 |
|
23 |
# Open all the files we downloaded at the beginning and take out hte good bits
|
24 |
+
# curves = data.iloc[:, [i for i in range(1, 3*64+1)]]
|
25 |
+
# geometry = data.iloc[:, [i for i in range(1 + 3*64, 1 + 3*64 + 32**3)]]
|
26 |
S = 5
|
27 |
N = 1000
|
28 |
D = 3
|