Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,9 @@ import pandas as pd
|
|
6 |
def load_data(dataset_name):
|
7 |
dataset = load_dataset(dataset_name)
|
8 |
return dataset
|
9 |
-
|
10 |
-
|
|
|
11 |
st.write("loading dataset")
|
12 |
st.dataframe(dataset)
|
13 |
st.write("loaded")
|
|
|
6 |
def load_data(dataset_name):
|
7 |
dataset = load_dataset(dataset_name)
|
8 |
return dataset
|
9 |
+
|
10 |
+
|
11 |
+
dataset = load_dataset('csv', data_files = 'https://huggingface.co/datasets/merve/poetry/blob/main/poetry.csv')
|
12 |
st.write("loading dataset")
|
13 |
st.dataframe(dataset)
|
14 |
st.write("loaded")
|