Spaces:
Running
Running
import streamlit as st | |
import datasets | |
from datasets import load_dataset | |
import pandas as pd | |
def load_data(dataset_name): | |
dataset = load_dataset(dataset_name) | |
return dataset | |
dataset = load_dataset('csv', data_files = 'https://huggingface.co/datasets/merve/poetry/blob/main/poetry.csv') | |
st.write("loading dataset") | |
st.dataframe(dataset) | |
st.write("loaded") |