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("fake_news_english") | |
st.write("loading dataset") | |
st.dataframe(dataset) | |
st.write("loaded") |