joehare's picture
Create app.py
d7c87e7
raw
history blame
158 Bytes
from datasets import load_dataset
import streamlit as st
dataset = load_dataset("merve/poetry", streaming=True)
df = pd.DataFrame.from_dict(dataset["train"])