merve's picture
merve HF staff
Update app.py
7dc792f
raw
history blame
366 Bytes
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")