Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
# dataset = load_dataset_builder('Seetha/visual_cs')
|
4 |
|
5 |
-
|
|
|
6 |
|
7 |
-
|
8 |
-
datasets_list = list_datasets()
|
9 |
-
|
10 |
-
print(', '.join(dataset for dataset in datasets_list))
|
|
|
1 |
+
from datasets import load_dataset
|
2 |
+
import streamlit as st
|
|
|
3 |
|
4 |
+
dataset = load_dataset("Seetha/visual_cs", streaming=True)
|
5 |
+
df = pd.DataFrame.from_dict(dataset["train"])
|
6 |
|
7 |
+
print(df)
|
|
|
|
|
|