merve's picture
merve HF staff
Update app.py
af2a80d
raw
history blame
298 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("fake_news_english")
st.write("loading dataset")
st.dataframe(dataset)
st.write("loaded")